Skip to content

Commit 99a0306

Browse files
committed
try extern crate
1 parent 11e1373 commit 99a0306

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scope/lifetime/static_lifetime.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ to dynamically create `'static` references. In that case it definitely doesn't
7070
live for the entire duration, but only for the leaking point onward.
7171

7272
```rust,editable
73+
extern crate rand;
7374
use rand::Fill;
7475
7576
fn random_vec() -> &'static [usize; 100] {

0 commit comments

Comments
 (0)