fix(clippy): silence

This commit is contained in:
Nova
2022-09-13 15:38:22 -04:00
parent 9987e5eb08
commit 3453b004c5
3 changed files with 4 additions and 3 deletions

View File

@@ -11,9 +11,9 @@ impl CompositorHandler for WaylandState {
}
fn commit(&mut self, surface: &WlSurface) {
compositor::with_states(&surface, |data| {
compositor::with_states(surface, |data| {
data.data_map.insert_if_missing_threadsafe(|| {
CoreSurface::new(&self.display, self.display_handle.clone(), &surface)
CoreSurface::new(&self.display, self.display_handle.clone(), surface)
})
});
}