Skip to content

Commit a9282c0

Browse files
committed
Fix warning on Windows
1 parent 4aefb54 commit a9282c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ impl<'a> Drop for MappedFile<'a> {
7676
}
7777

7878
#[cfg(windows)]
79+
#[allow(non_camel_case_types, clippy::upper_case_acronyms)]
7980
/// Module that implements memory mapping on Windows using CreateFileMappingA /
8081
/// MapViewOfFile.
8182
mod windows {
82-
#[allow(non_camel_case_types, clippy::upper_case_acronyms)]
8383
use std::os::windows::prelude::AsRawHandle;
8484
use std::os::windows::raw::HANDLE;
8585

0 commit comments

Comments
 (0)