diff options
| author | Phil Ruffwind <rf@rufflewind.com> | 2016-07-11 15:25:12 -0400 |
|---|---|---|
| committer | Phil Ruffwind <rf@rufflewind.com> | 2016-08-15 09:39:13 -0400 |
| commit | 9e3986188d9c8f2702476a330892f7874055c30f (patch) | |
| tree | c23680b2595cb3b3db37fff8b391d81541b76dac | |
| parent | f0bab98695f0a4877daabad9a5b0ba3e66121392 (diff) | |
| download | rust-9e3986188d9c8f2702476a330892f7874055c30f.tar.gz rust-9e3986188d9c8f2702476a330892f7874055c30f.zip | |
Fix spacing in code of closures.md
The spacing seems inconsistent with existing style conventions.
| -rw-r--r-- | src/doc/book/closures.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/book/closures.md b/src/doc/book/closures.md index 1470eac9829..d332cac7d8d 100644 --- a/src/doc/book/closures.md +++ b/src/doc/book/closures.md @@ -262,7 +262,7 @@ the result: ```rust fn call_with_one<F>(some_closure: F) -> i32 - where F : Fn(i32) -> i32 { + where F: Fn(i32) -> i32 { some_closure(1) } @@ -279,7 +279,7 @@ Let’s examine the signature of `call_with_one` in more depth: ```rust fn call_with_one<F>(some_closure: F) -> i32 -# where F : Fn(i32) -> i32 { +# where F: Fn(i32) -> i32 { # some_closure(1) } ``` @@ -288,7 +288,7 @@ isn’t interesting. The next part is: ```rust # fn call_with_one<F>(some_closure: F) -> i32 - where F : Fn(i32) -> i32 { + where F: Fn(i32) -> i32 { # some_closure(1) } ``` |
