Bump MSRV to 1.64

This commit is contained in:
Kirill Chibisov 2023-03-08 19:34:10 +03:00 committed by GitHub
parent fb9695d56d
commit b18295a1ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 21 additions and 18 deletions

View file

@ -197,7 +197,7 @@ impl<'a> NormalHints<'a> {
}
pub fn get_resize_increments(&self) -> Option<(u32, u32)> {
has_flag(self.size_hints.flags, ffi::PResizeInc).then(|| {
has_flag(self.size_hints.flags, ffi::PResizeInc).then_some({
(
self.size_hints.width_inc as u32,
self.size_hints.height_inc as u32,