diff options
Diffstat (limited to 'vendor/sysinfo/src/common.rs')
-rw-r--r-- | vendor/sysinfo/src/common.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/sysinfo/src/common.rs b/vendor/sysinfo/src/common.rs index 15cbe87be..2710204f5 100644 --- a/vendor/sysinfo/src/common.rs +++ b/vendor/sysinfo/src/common.rs @@ -283,7 +283,7 @@ on Windows as other platforms get this information alongside the Process informa ); } -/// Used to determine what you want to refresh specifically on the [`Process`] type. +/// Used to determine what you want to refresh specifically on the [`Cpu`] type. /// /// ⚠️ Just like all other refresh types, ruling out a refresh doesn't assure you that /// the information won't be retrieved if the information is accessible without needing @@ -302,7 +302,7 @@ on Windows as other platforms get this information alongside the Process informa /// } /// ``` /// -/// [`Process`]: crate::Process +/// [`Cpu`]: crate::Cpu #[derive(Clone, Copy, Debug, Default, PartialEq, Eq)] pub struct CpuRefreshKind { cpu_usage: bool, @@ -667,7 +667,7 @@ macro_rules! xid { ($(#[$outer:meta])+ $name:ident, $type:ty) => { $(#[$outer])+ #[repr(transparent)] - #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Debug)] + #[derive(Clone, PartialEq, Eq, Hash, PartialOrd, Ord, Debug)] pub struct $name(pub(crate) $type); impl std::ops::Deref for $name { |