ifletSome(map1)=map::map(&map1).discard_msg(format!("Failed to map file {}",map1)){
ifletSome(map1)=map::map(&map1).discard_msg(format!("Failed to map file {}",map1)){
letslice=map1.as_slice();
letslice=map1.as_slice();
letmap1_sz: u64=slice.len().try_into().expect("File size could not fit into u64. This should never happen.");
#[cfg(feature="threads")]letmap1_sz: u64=slice.len().try_into().expect("File size could not fit into u64. This should never happen.");// For now, non-threaded mode doesn't use this.