diff options
| author | mdinger <mdinger.bugzilla@gmail.com> | 2015-04-04 20:34:59 -0400 |
|---|---|---|
| committer | mdinger <mdinger.bugzilla@gmail.com> | 2015-04-04 20:34:59 -0400 |
| commit | 85f6c9ff84816c5286e2eae208fa150a0ba64ce4 (patch) | |
| tree | b564456a5681453941a38de875c8871befbacb4d | |
| parent | 1169693f03d73e422866d9c412328a031ed0e4df (diff) | |
| download | rust-85f6c9ff84816c5286e2eae208fa150a0ba64ce4.tar.gz rust-85f6c9ff84816c5286e2eae208fa150a0ba64ce4.zip | |
Alignment nitpick
| -rw-r--r-- | src/doc/trpl/closures.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/closures.md b/src/doc/trpl/closures.md index 52d07ae465f..e63331e5206 100644 --- a/src/doc/trpl/closures.md +++ b/src/doc/trpl/closures.md @@ -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 ; ``` |
