mirror of https://github.com/tauri-apps/tauri
clippy
This commit is contained in:
parent
2189047f5e
commit
e8b84d8379
|
@ -1098,11 +1098,13 @@ impl WindowBuilder for WindowBuilderWrapper {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
fn window_classname<S: Into<String>>(mut self, _window_classname: S) -> Self {
|
#[cfg(windows)]
|
||||||
#[cfg(windows)]
|
fn window_classname<S: Into<String>>(mut self, window_classname: S) -> Self {
|
||||||
{
|
self.inner = self.inner.with_window_classname(window_classname);
|
||||||
self.inner = self.inner.with_window_classname(_window_classname);
|
self
|
||||||
}
|
}
|
||||||
|
#[cfg(not(windows))]
|
||||||
|
fn window_classname<S: Into<String>>(self, _window_classname: S) -> Self {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue