diff --git a/src/util/system_info.rs b/src/util/system_info.rs index a9b5efd..a01ae97 100644 --- a/src/util/system_info.rs +++ b/src/util/system_info.rs @@ -26,7 +26,7 @@ pub struct Process { } impl Process { - pub fn pid(&self) -> u32 { + pub const fn pid(&self) -> u32 { self.pid }