Merge pull request #874 from caoxiemeihao/patch-3

chore: formatting code
pull/875/head
Sunface 3 years ago committed by GitHub
commit 77a4520b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -256,7 +256,6 @@ impl Rectangle {
```rust ```rust
#![allow(unused)] #![allow(unused)]
fn main() {
enum Message { enum Message {
Quit, Quit,
Move { x: i32, y: i32 }, Move { x: i32, y: i32 },
@ -270,8 +269,9 @@ impl Message {
} }
} }
let m = Message::Write(String::from("hello")); fn main() {
m.call(); let m = Message::Write(String::from("hello"));
m.call();
} }
``` ```

Loading…
Cancel
Save