We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9339585 commit c935bacCopy full SHA for c935bac
src/types/closure.md
@@ -7,7 +7,7 @@ closure:
7
8
```rust
9
#[derive(Debug)]
10
-struct Point { x:i32, y:i32 }
+struct Point { x: i32, y: i32 }
11
struct Rectangle { left_top: Point, right_bottom: Point }
12
13
fn f<F : FnOnce() -> String> (g: F) {
0 commit comments