Skip to content

Commit

Permalink
memfd: clean up linting warnings
Browse files Browse the repository at this point in the history
This fixes a couple of linting warnings currently hit on nightly
toolchain.
  • Loading branch information
lucab committed Feb 10, 2021
1 parent 2c7036d commit 5ef2c0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
//! ```
#![deny(
missing_docs,
intra_doc_link_resolution_failure,
broken_intra_doc_links,
clippy::all,
unreachable_pub,
unused,
Expand Down
1 change: 1 addition & 0 deletions src/memfd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ impl Default for MemfdOptions {
}

/// Page size for a hugetlb anonymous file.
#[allow(clippy::all)]
#[derive(Copy, Clone, Debug)]
pub enum HugetlbSize {
/// 64KB hugetlb page.
Expand Down

0 comments on commit 5ef2c0c

Please sign in to comment.