Skip to content

Commit b638dbf

Browse files
committed
docs: remove a paragraph that became superfluous
1 parent 8368ac9 commit b638dbf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

library/core/src/ptr/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2028,10 +2028,6 @@ pub const unsafe fn write_unaligned<T>(dst: *mut T, src: T) {
20282028

20292029
/// Performs a volatile read of the value from `src` without moving it.
20302030
///
2031-
/// Rust does not currently have a rigorously and formally defined memory model, so the precise
2032-
/// semantics of what "volatile" means here is subject to change over time. That being said, the
2033-
/// semantics will almost always end up pretty similar to [C11's definition of volatile][c11].
2034-
///
20352031
/// Volatile operations are intended to act on I/O memory. As such, they are considered externally
20362032
/// observable events (just like syscalls, but less opaque), and are guaranteed to not be elided or
20372033
/// reordered by the compiler across other externally observable events. With this in mind, there

0 commit comments

Comments
 (0)