Skip to content

Commit

Permalink
Auto merge of #24084 - mdinger:align_nit, r=steveklabnik
Browse files Browse the repository at this point in the history
Really minor nitpick but if you're gonna align them, they should be aligned properly.

r? @steveklabnik
  • Loading branch information
bors committed Apr 5, 2015
2 parents b3c5507 + 85f6c9f commit 529de5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/trpl/closures.md
Expand Up @@ -54,7 +54,7 @@ The second is that the syntax is similar, but a bit different. I've added spaces
here to make them look a little closer:

```rust
fn plus_one_v1 ( x: i32 ) -> i32 { x + 1 }
fn plus_one_v1 (x: i32 ) -> i32 { x + 1 }
let plus_one_v2 = |x: i32 | -> i32 { x + 1 };
let plus_one_v3 = |x: i32 | x + 1 ;
```
Expand Down

0 comments on commit 529de5f

Please sign in to comment.