Merge #4736
4736: Bugfix r=kjeremy a=Veetaha Co-authored-by: Veetaha <veetaha2@gmail.com>
This commit is contained in:
commit
1dba84019e
@ -170,7 +170,7 @@ https://www.tedinski.com/2018/02/06/system-boundaries.html
|
||||
|
||||
We separate import groups with blank lines
|
||||
|
||||
```
|
||||
```rust
|
||||
mod x;
|
||||
mod y;
|
||||
|
||||
@ -195,7 +195,7 @@ Put `struct`s and `enum`s first, functions and impls last.
|
||||
|
||||
Do
|
||||
|
||||
```
|
||||
```rust
|
||||
// Good
|
||||
struct Foo {
|
||||
bars: Vec<Bar>
|
||||
@ -206,7 +206,7 @@ struct Bar;
|
||||
|
||||
rather than
|
||||
|
||||
```
|
||||
```rust
|
||||
// Not as good
|
||||
struct Bar;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user