We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3d4c184 + f5fbe1f commit 8f6b7a6Copy full SHA for 8f6b7a6
src/scope/lifetime/static_lifetime.md
@@ -85,7 +85,7 @@ fn main() {
85
print_it(i);
86
87
// oops, &i only has the lifetime defined by the scope of
88
- // use_it(), so it's not 'static:
+ // main(), so it's not 'static:
89
print_it(&i);
90
}
91
```
0 commit comments