From a07c825e76c194ea88807556a706266259b35fcc Mon Sep 17 00:00:00 2001 From: Riahiamirreza <54557628+Riahiamirreza@users.noreply.github.com> Date: Fri, 26 Dec 2025 20:38:22 +0330 Subject: [PATCH] Fix alignment description for u64 and f64 in repr-rust.md --- src/repr-rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repr-rust.md b/src/repr-rust.md index 5275b23..cbe8588 100644 --- a/src/repr-rust.md +++ b/src/repr-rust.md @@ -9,7 +9,7 @@ of 2. Primitives are usually aligned to their size, although this is platform-specific behavior. For example, on x86 `u64` and `f64` are often -aligned to 4 bytes (32 bits). +aligned to 8 bytes (64 bits). A type's size must always be a multiple of its alignment (Zero being a valid size for any alignment). This ensures that an array of that type may always be indexed