We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8af1bec + d872de4 commit 0111656Copy full SHA for 0111656
src/sys/kernel/mod.rs
@@ -15,7 +15,7 @@ pub mod keys;
15
pub mod random;
16
17
/// Represents a kernel version, in major.minor.release version.
18
-#[derive(Debug, Copy, Clone, Eq, PartialEq)]
+#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
19
pub struct Version {
20
pub major: u8,
21
pub minor: u8,
0 commit comments