We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4e6ea83 + 0d73e2b commit b329ce3Copy full SHA for b329ce3
src/types/closure.md
@@ -14,7 +14,7 @@ let mut s = String::from("foo");
14
let t = String::from("bar");
15
16
f(|| {
17
- s += &*t;
+ s += &t;
18
s
19
});
20
// Prints "foobar".
0 commit comments