Skip to content

Commit

Permalink
Update src/unsafe-rust/calling-unsafe-functions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Dustin J. Mitchell <[email protected]>
  • Loading branch information
mgeisler and djmitche authored Oct 28, 2024
1 parent b1a3a3a commit 893e2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unsafe-rust/calling-unsafe-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Key points:
not bytes! This example demonstrate undefined behavior by reading past the end
of one array and into another.

- The standard library contain many low-level unsafe functions. Prefer the safe
- The standard library contains many low-level unsafe functions. Prefer the safe
alternatives when possible!

- If you use an unsafe function as an optimization, make sure to add a benchmark
Expand Down

0 comments on commit 893e2db

Please sign in to comment.