fix doc comments copy paste typo

This commit is contained in:
Andrew Kelley
2021-06-06 18:05:06 -07:00
parent 0c091f8b09
commit b973e0a3e3

View File

@@ -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.