From e5e335f4f3057e97a805ff7db689f234e3837975 Mon Sep 17 00:00:00 2001 From: futile Date: Wed, 5 Nov 2025 00:10:39 +0000 Subject: [PATCH] apply clippy suggestion --- src/util/system_info.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }