Skip to content

Commit 529de5f

Browse files
committed
Auto merge of #24084 - mdinger:align_nit, r=steveklabnik
Really minor nitpick but if you're gonna align them, they should be aligned properly. r? @steveklabnik
2 parents b3c5507 + 85f6c9f commit 529de5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/closures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The second is that the syntax is similar, but a bit different. I've added spaces
5454
here to make them look a little closer:
5555

5656
```rust
57-
fn plus_one_v1 ( x: i32 ) -> i32 { x + 1 }
57+
fn plus_one_v1 (x: i32 ) -> i32 { x + 1 }
5858
let plus_one_v2 = |x: i32 | -> i32 { x + 1 };
5959
let plus_one_v3 = |x: i32 | x + 1 ;
6060
```

0 commit comments

Comments
 (0)