File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1159,7 +1159,7 @@ extern "rust-intrinsic" {
11591159 /// // At this point, using or dropping `v` results in undefined behavior.
11601160 /// // drop(v); // ERROR
11611161 ///
1162- /// // Even leaking `v` "uses" it, and henc eis undefined behavior.
1162+ /// // Even leaking `v` "uses" it, and hence is undefined behavior.
11631163 /// // mem::forget(v); // ERROR
11641164 ///
11651165 /// unsafe {
Original file line number Diff line number Diff line change 4747//! ## Alignment
4848//!
4949//! Valid raw pointers as defined above are not necessarily properly aligned (where
50- //! "proper" alignment is defind by the pointee type, i.e., `*const T` must be
50+ //! "proper" alignment is defined by the pointee type, i.e., `*const T` must be
5151//! aligned to `mem::align_of::<T>()`). However, most functions require their
5252//! arguments to be properly aligned, and will explicitly state
5353//! this requirement in their documentation. Notable exceptions to this are
You can’t perform that action at this time.
0 commit comments