diff options
| author | 2023-09-20 05:07:34 +0200 | |
|---|---|---|
| committer | 2023-09-20 05:07:34 +0200 | |
| commit | 1e4bade53aaaeb17542d0372ac827bcb7daf037c (patch) | |
| tree | a45ed5cd10a7b67f2a93791e6358fed54c086cea /winit | |
| parent | caed50b277495e4375975f3f4e271b8fcbc0c33f (diff) | |
| download | iced-1e4bade53aaaeb17542d0372ac827bcb7daf037c.tar.gz iced-1e4bade53aaaeb17542d0372ac827bcb7daf037c.tar.bz2 iced-1e4bade53aaaeb17542d0372ac827bcb7daf037c.zip | |
Fix `clippy::redundant-closure-for-method-calls`
Diffstat (limited to '')
| -rw-r--r-- | winit/src/system.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/winit/src/system.rs b/winit/src/system.rs index 145a4d92..d4cef60e 100644 --- a/winit/src/system.rs +++ b/winit/src/system.rs @@ -23,7 +23,7 @@ pub(crate) fn information(      let memory_used = sysinfo::get_current_pid()          .and_then(|pid| system.process(pid).ok_or("Process not found")) -        .map(|process| process.memory()) +        .map(ProcessExt::memory)          .ok();      Information { | 
