Bump MSRV to 1.64
This commit is contained in:
parent
fb9695d56d
commit
b18295a1ce
9 changed files with 21 additions and 18 deletions
|
|
@ -171,7 +171,7 @@ impl MonitorHandle {
|
|||
sctk::output::with_output_info(&self.proxy, |info| {
|
||||
info.modes
|
||||
.iter()
|
||||
.find_map(|mode| mode.is_current.then(|| mode.refresh_rate as u32))
|
||||
.find_map(|mode| mode.is_current.then_some(mode.refresh_rate as u32))
|
||||
})
|
||||
.flatten()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue