We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc88e9a commit d175b3eCopy full SHA for d175b3e
library/core/src/ptr/mod.rs
@@ -2166,7 +2166,7 @@ pub unsafe fn write_volatile<T>(dst: *mut T, src: T) {
2166
}
2167
2168
2169
-/// Overalign pointer `p`.
+/// Calculate an offset to pointer `p` overaligned to alignment `a`.
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 overaligned to `a`.
0 commit comments