Skip to content

Commit fb0fd2a

Browse files
committed
Final nits
1 parent 6e34b19 commit fb0fd2a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

crates/rrg/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ version = "0.59.0"
148148
optional = true
149149
features = [
150150
"Win32_Foundation",
151-
"Win32_System_Memory",
152-
"Win32_System_Threading",
153151
"Win32_Storage_FileSystem",
154152
"Win32_System_Diagnostics_Debug",
153+
"Win32_System_Memory",
155154
"Win32_System_ProcessStatus",
155+
"Win32_System_Threading",
156156
]
157157

158158
[target.'cfg(target_family = "windows")'.dev-dependencies.windows-sys]

crates/rrg/src/action/dump_process_memory.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ mod linux {
268268

269269
#[test]
270270
fn region_iter_detects_mmap() {
271-
// `mmap` a file and check that the mappinsg is detected among those returned by
271+
// `mmap` a file and check that the mapping is detected among those returned by
272272
// `MappedRegionIter`.
273273
use std::io::Write as _;
274274
use std::os::unix::fs::MetadataExt;
@@ -308,9 +308,9 @@ mod linux {
308308
};
309309

310310
let regions: Vec<MappedRegion> = MappedRegionIter::from_pid(std::process::id())
311-
.expect("Could not read memory regions of current process")
311+
.expect("could not read memory regions of current process")
312312
.collect::<Result<_, _>>()
313-
.expect("Reading maps");
313+
.expect("reading maps");
314314

315315
drop(mapped_ptr);
316316

0 commit comments

Comments
 (0)