Skip to content

Commit 3850b21

Browse files
authored
Merge pull request #214 from shepmaster/patch-1
Standard Rust formatting (per rustfmt)
2 parents af62991 + b1cf3d6 commit 3850b21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_posts/2017-11-22-Rust-1.22.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ items](https://github.com/rust-lang/rust/pull/44456). Like this:
6868

6969
```rust
7070
struct Foo {
71-
a: u32
71+
a: u32,
7272
}
7373

7474
impl Drop for Foo {
7575
fn drop(&mut self) {}
7676
}
7777

78-
const F : Foo = Foo { a : 0 };
79-
static S : Foo = Foo { a : 0 };
78+
const F: Foo = Foo { a: 0 };
79+
static S: Foo = Foo { a: 0 };
8080
```
8181

8282
This change doesn't bring much on its own, but as we improve our

0 commit comments

Comments
 (0)