Skip to content

Commit f6aab5b

Browse files
committed
Fixed typo in nomicon
1 parent cf0cdc4 commit f6aab5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/nomicon/ownership.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ let mut data = vec![1, 2, 3];
5252
let x = &data[0];
5353
5454
// OH NO! `push` causes the backing storage of `data` to be reallocated.
55-
// Dangling pointer! User after free! Alas!
55+
// Dangling pointer! Use after free! Alas!
5656
// (this does not compile in Rust)
5757
data.push(4);
5858

0 commit comments

Comments
 (0)