Explicitly specify minimum supported rust version

This should help with distributing apps using winit.

Fixes #1075.
This commit is contained in:
Kirill Chibisov 2022-07-29 14:39:41 +03:00 committed by GitHub
parent 50035643f7
commit bf537009d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 15 additions and 9 deletions

View file

@ -299,10 +299,11 @@ impl WindowExtUnix for Window {
#[inline]
#[cfg(feature = "wayland")]
fn wayland_set_csd_theme(&self, theme: Theme) {
#[allow(clippy::single_match)]
match self.window {
LinuxWindow::Wayland(ref w) => w.set_csd_theme(theme),
#[cfg(feature = "x11")]
_ => {}
_ => (),
}
}