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 13b97ab commit 8a5d10cCopy full SHA for 8a5d10c
code/ch01-01-building-an-intuition/cell-lengthener/src/main.rs
@@ -4,7 +4,9 @@ fn main() {}
4
use std::collections::HashSet;
5
6
// ANCHOR: all
7
-fn hash_set_lengthener<'a, 'b>(s: &'a mut HashSet<&'b str>) -> &'a mut HashSet<&'static str> {
+fn hash_set_lengthener<'a, 'b>(
8
+ s: &'a mut HashSet<&'b str>,
9
+) -> &'a mut HashSet<&'static str> {
10
s
11
}
12
0 commit comments