Skip to content

Commit

Permalink
Implement more traits for Advice
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik authored Feb 10, 2022
1 parent f727469 commit a336dc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/advice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use crate::{Mmap, MmapMut};
/// Values supported by [Mmap::advise] and [MmapMut::advise] functions.
/// See [madvise()](https://man7.org/linux/man-pages/man2/madvise.2.html) map page.
#[repr(i32)]
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum Advice {
/// **MADV_NORMAL**
///
Expand Down

0 comments on commit a336dc8

Please sign in to comment.