@@ -345,10 +345,11 @@ pub unsafe fn munlock(ptr: *mut c_void, len: usize) -> io::Result<()> {
345345
346346/// Locks all pages mapped into the address space of the calling process.
347347///
348- /// This includes the pages of the code, data and stack segment, as well as shared libraries,
349- /// user space kernel data, shared memory, and memory-mapped files. All mapped pages are
350- /// guaranteed to be resident in RAM when the call returns successfully;
351- /// the pages are guaranteed to stay in RAM until later unlocked.
348+ /// This includes the pages of the code, data and stack segment, as well as
349+ /// shared libraries, user space kernel data, shared memory, and memory-mapped
350+ /// files. All mapped pages are guaranteed to be resident in RAM when the call
351+ /// returns successfully; the pages are guaranteed to stay in RAM until later
352+ /// unlocked.
352353///
353354/// # References
354355/// - [POSIX]
@@ -378,9 +379,10 @@ pub fn mlockall(flags: MlockAllFlags) -> io::Result<()> {
378379///
379380/// # Warnings
380381///
381- /// This function is aware of all the memory pages in the process, as if it were a debugger.
382- /// It unlocks all the pages, which could potentially compromise security assumptions made by
383- /// code about memory it has encapsulated.
382+ /// This function is aware of all the memory pages in the process, as if it
383+ /// were a debugger. It unlocks all the pages, which could potentially
384+ /// compromise security assumptions made by code about memory it has
385+ /// encapsulated.
384386///
385387/// # References
386388/// - [POSIX]
0 commit comments