Explicitly specify minimum supported rust version
This should help with distributing apps using winit. Fixes #1075.
This commit is contained in:
parent
50035643f7
commit
bf537009d9
8 changed files with 15 additions and 9 deletions
|
|
@ -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")]
|
||||
_ => {}
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue