We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d5ef32 commit de35b66Copy full SHA for de35b66
src/liballoc/boxed.rs
@@ -126,7 +126,9 @@ impl<T: ?Sized> Box<T> {
126
Box(Unique::new_unchecked(raw))
127
}
128
129
- /// Consumes the `Box`, returning the wrapped raw pointer.
+ /// Consumes the `Box`, returning a wrapped raw pointer.
130
+ ///
131
+ /// The pointer will be properly aligned and non-null.
132
///
133
/// After calling this function, the caller is responsible for the
134
/// memory previously managed by the `Box`. In particular, the
0 commit comments