File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 44
44
//! Like boxes, `OwnedFd` values conceptually own the resource they point to,
45
45
//! and free (close) it when they are dropped.
46
46
//!
47
- //! ## What about `/proc/self/mem` and similar OS features?
47
+ //! ## `/proc/self/mem` and similar OS features
48
48
//!
49
49
//! Some platforms have special files, such as `/proc/self/mem`, which
50
50
//! provide read and write access to the process's memory. Such reads
51
51
//! and writes happen outside the control of the Rust compiler, so they do not
52
52
//! uphold Rust's memory safety guarantees.
53
53
//!
54
- //! However, this does not mean that all APIs that might allow `/proc/self/mem`
54
+ //! This does not mean that all APIs that might allow `/proc/self/mem`
55
55
//! to be opened and read from or written must be `unsafe`. Rust's safety guarantees
56
56
//! only cover what the program itself can do, and not what entities outside
57
57
//! the program can do to it. `/proc/self/mem` is considered to be such an
You can’t perform that action at this time.
0 commit comments