about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-03 05:21:34 +0200
committerGitHub <noreply@github.com>2025-07-03 05:21:34 +0200
commitf0007547618dd0c3adbc49026f8a93f8d8d8c647 (patch)
treeb25ceec5f87ab4e00462dc5887c993048f6cb3b9
parent4a3c2fca2263e1451f900298ef4d0ca28c15a117 (diff)
parent626ca82fafe3000bb19cb99f1c6399709305ad6a (diff)
downloadrust-f0007547618dd0c3adbc49026f8a93f8d8d8c647.tar.gz
rust-f0007547618dd0c3adbc49026f8a93f8d8d8c647.zip
Rollup merge of #143321 - hkBst:typo-1, r=compiler-errors
byte-addresses memory -> byte-addressed memory

Small typo fix
-rw-r--r--library/core/src/ffi/c_char.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ffi/c_char.md b/library/core/src/ffi/c_char.md
index b262a3663b3..119b739a39e 100644
--- a/library/core/src/ffi/c_char.md
+++ b/library/core/src/ffi/c_char.md
@@ -1,6 +1,6 @@
 Equivalent to C's `char` type.
 
-[C's `char` type] is completely unlike [Rust's `char` type]; while Rust's type represents a unicode scalar value, C's `char` type is just an ordinary integer. On modern architectures this type will always be either [`i8`] or [`u8`], as they use byte-addresses memory with 8-bit bytes.
+[C's `char` type] is completely unlike [Rust's `char` type]; while Rust's type represents a unicode scalar value, C's `char` type is just an ordinary integer. On modern architectures this type will always be either [`i8`] or [`u8`], as they use byte-addressed memory with 8-bit bytes.
 
 C chars are most commonly used to make C strings. Unlike Rust, where the length of a string is included alongside the string, C strings mark the end of a string with the character `'\0'`. See `CStr` for more information.