Skip to content

Commit d1834ef

Browse files
authored
Merge pull request #73 from jullanggit/patch-2
Fix minor typos in const-safety.md
2 parents 0ea64aa + 2b5c7fe commit d1834ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

const_safety.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ four possible ways:
99
* The program causes undefined behavior (e.g., dereferencing an out-of-bounds
1010
pointer).
1111
* The program panics (e.g., a failed bounds check).
12-
* The program exhausts its resources: It might overflow the stack, allocation
13-
too much memory or loops forever. Note that detecting these conditions
12+
* The program exhausts its resources: It might overflow the stack, allocate
13+
too much memory or loop forever. Note that detecting these conditions
1414
happens on a best-effort basis only.
1515

1616
Just like panics and non-termination are acceptable in safe run-time Rust code,

0 commit comments

Comments
 (0)