@@ -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
@@ -984,7 +984,7 @@ mod tests {
984984 fn iterate_this_process_regions ( ) {
985985 let pid = std:: process:: id ( ) ;
986986 let iterator = MappedRegionIter :: from_pid ( pid)
987- . expect ( "Could not read memory regions of current process" ) ;
987+ . expect ( "could not read memory regions of current process" ) ;
988988 let result = iterator. collect :: < Result < Vec < MappedRegion > , _ > > ( ) . unwrap ( ) ;
989989 assert ! ( !result. is_empty( ) ) ;
990990 }
@@ -998,7 +998,7 @@ mod tests {
998998 . collect :: < Result < _ , _ > > ( )
999999 . expect ( "reading maps" ) ;
10001000
1001- let mut memory = ReadableProcessMemory :: open ( pid) . expect ( "Could not open process memory" ) ;
1001+ let mut memory = ReadableProcessMemory :: open ( pid) . expect ( "could not open process memory" ) ;
10021002 assert ! {
10031003 regions. iter( ) . any( |region| memory. read_chunk(
10041004 region. start_address( ) ,
0 commit comments