authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-06-06 18:05:06-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-06-06 18:05:06-07:00
logb973e0a3e3366966c6ef3589c4a5e3d61803f78f
treef5ef56cba9d67068f0e3ee03560fad73c6f0d6f9
parent0c091f8b096051687a6d7f563d743387f6b39a86

fix doc comments copy paste typo


1 files changed, 2 insertions(+), 3 deletions(-)

lib/std/mem.zig+2-3
...@@ -2324,9 +2324,8 @@ pub fn nativeToBig(comptime T: type, x: T) T {...@@ -2324,9 +2324,8 @@ pub fn nativeToBig(comptime T: type, x: T) T {
2324}2324}
23252325
2326/// Returns the number of elements that, if added to the given pointer, align it2326/// Returns the number of elements that, if added to the given pointer, align it
2327/// to a multiple of the given quantity.2327/// to a multiple of the given quantity, or `null` if one of the following
2328/// Returns an aligned pointer or null if one of the following conditions is2328/// conditions is met:
2329/// met:
2330/// - The aligned pointer would not fit the address space,2329/// - The aligned pointer would not fit the address space,
2331/// - The delta required to align the pointer is not a multiple of the pointee's2330/// - The delta required to align the pointer is not a multiple of the pointee's
2332/// type.2331/// type.