Skip to content

Commit

Permalink
Fix warning on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
0vercl0k committed Mar 30, 2024
1 parent 4aefb54 commit a9282c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ impl<'a> Drop for MappedFile<'a> {
}

#[cfg(windows)]
#[allow(non_camel_case_types, clippy::upper_case_acronyms)]
/// Module that implements memory mapping on Windows using CreateFileMappingA /
/// MapViewOfFile.
mod windows {
#[allow(non_camel_case_types, clippy::upper_case_acronyms)]
use std::os::windows::prelude::AsRawHandle;
use std::os::windows::raw::HANDLE;

Expand Down

0 comments on commit a9282c0

Please sign in to comment.