Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Replace allow unused_imports with pyattr
  • Loading branch information
xiangzhai committed Apr 23, 2023
commit c9f1709cc89a8cec36a1ddb8e702897ab4bc4409
2 changes: 1 addition & 1 deletion stdlib/src/mmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ mod mmap {
)
)
))]
#[allow(unused_imports)]
#[pyattr]
use libc::MADV_SOFT_OFFLINE;

#[cfg(all(target_os = "linux", target_arch = "x86_64", target_env = "gnu"))]
Expand Down