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,6 +269,7 @@ impl Message {
} }
} }
fn main() {
let m = Message::Write(String::from("hello")); let m = Message::Write(String::from("hello"));
m.call(); m.call();
} }

Loading…
Cancel
Save