You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Calculate an offset to pointer `p` that aligns it up to alignment `a`.
2169
+
/// Calculate an element-offset that increases a pointer's alignment.
2170
2170
///
2171
-
/// Calculate offset (in terms of elements of `size_of::<T>()` stride) that has to be added
2172
-
/// to pointer `p` so that pointer `p` would get aligned up to `a`.
2171
+
/// Calculate an element-offset (not byte-offset) that when added to a given pointer `p`, increases `p`'s alignment to at least the given alignment `a`.
0 commit comments