From 893e2dbf9213ba3b906f2b83eafed4f2abc58ce7 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Mon, 28 Oct 2024 19:45:10 +0100 Subject: [PATCH] Update src/unsafe-rust/calling-unsafe-functions.md Co-authored-by: Dustin J. Mitchell --- src/unsafe-rust/calling-unsafe-functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unsafe-rust/calling-unsafe-functions.md b/src/unsafe-rust/calling-unsafe-functions.md index 63f6443cf775..9a932894d2c5 100644 --- a/src/unsafe-rust/calling-unsafe-functions.md +++ b/src/unsafe-rust/calling-unsafe-functions.md @@ -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