Skip to content

Commit fbbf20a

Browse files
authored
Merge pull request #1923 from santoshxshrestha/patch-1
docs: mark illustrative 'static lifetime example with `ignore`
2 parents 0d7964d + 3914d41 commit fbbf20a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scope/lifetime/static_lifetime.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Rust has a few reserved lifetime names. One of those is `'static`. You
44
might encounter it in two situations:
55

6-
```rust, editable
6+
```rust, ignore
77
// A reference with 'static lifetime:
88
let s: &'static str = "hello world";
99

0 commit comments

Comments
 (0)