Skip to content

Commit 2b5c7fe

Browse files
authored
Fix minor typos in const-safety.md
1 parent 0ea64aa commit 2b5c7fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)