We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0bab98 commit 9e39861Copy full SHA for 9e39861
src/doc/book/closures.md
@@ -262,7 +262,7 @@ the result:
262
263
```rust
264
fn call_with_one<F>(some_closure: F) -> i32
265
- where F : Fn(i32) -> i32 {
+ where F: Fn(i32) -> i32 {
266
267
some_closure(1)
268
}
@@ -279,7 +279,7 @@ Let’s examine the signature of `call_with_one` in more depth:
279
280
281
282
-# where F : Fn(i32) -> i32 {
+# where F: Fn(i32) -> i32 {
283
# some_closure(1) }
284
```
285
@@ -288,7 +288,7 @@ isn’t interesting. The next part is:
288
289
290
# fn call_with_one<F>(some_closure: F) -> i32
291
292
293
294
0 commit comments