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 4e6ea83 commit 0d73e2bCopy full SHA for 0d73e2b
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