From b973e0a3e3366966c6ef3589c4a5e3d61803f78f Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 6 Jun 2021 18:05:06 -0700 Subject: [PATCH] fix doc comments copy paste typo --- lib/std/mem.zig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/std/mem.zig b/lib/std/mem.zig index f0df9d1ad8..ecdad6d314 100644 --- a/lib/std/mem.zig +++ b/lib/std/mem.zig @@ -2324,9 +2324,8 @@ pub fn nativeToBig(comptime T: type, x: T) T { } /// Returns the number of elements that, if added to the given pointer, align it -/// to a multiple of the given quantity. -/// Returns an aligned pointer or null if one of the following conditions is -/// met: +/// to a multiple of the given quantity, or `null` if one of the following +/// conditions is met: /// - The aligned pointer would not fit the address space, /// - The delta required to align the pointer is not a multiple of the pointee's /// type.