Address Clippy lints
This commit is contained in:
parent
e053e25d2c
commit
15f794b7a8
43 changed files with 147 additions and 172 deletions
|
|
@ -24,7 +24,7 @@ pub(crate) fn information(
|
|||
|
||||
let memory_used = sysinfo::get_current_pid()
|
||||
.and_then(|pid| system.process(pid).ok_or("Process not found"))
|
||||
.and_then(|process| Ok(process.memory()))
|
||||
.map(|process| process.memory())
|
||||
.ok();
|
||||
|
||||
Information {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue