Rollup merge of #35681 - Rufflewind:patch-1, r=apasel422

Fix spacing in code of closures.md

The spacing seems inconsistent with existing style conventions.
This commit is contained in:
Jonathan Turner
2016-08-17 06:25:26 -07:00
committed by GitHub
+3 -3
View File
@@ -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 @@ Lets 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 @@ isnt 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) }
```