chore: cleanup clippy

This commit is contained in:
Nova
2025-09-02 14:41:15 -07:00
parent b6524e90e1
commit d6ad00bf53
2 changed files with 4 additions and 3 deletions

View File

@@ -241,7 +241,7 @@ fn gen_model_parts(
.and_then(|v| v.bounds.get().copied())
.unwrap_or_default()
});
spatial.set_spatial_parent(&parent_spatial);
let _ = spatial.set_spatial_parent(&parent_spatial);
spatial.set_local_transform(transform.compute_matrix());
spatial.set_entity(entity);
@@ -261,7 +261,9 @@ fn gen_model_parts(
);
}
_ = model.parts.set(parts);
model.spatial.set_entity(model.bevy_scene_entity.get().unwrap().0);
model
.spatial
.set_entity(model.bevy_scene_entity.get().unwrap().0);
}
}

View File

@@ -12,7 +12,6 @@ use drm_fourcc::DrmFourcc;
use mint::Vector2;
use parking_lot::Mutex;
use std::sync::{Arc, OnceLock};
use tracing::info;
use waynest::server::protocol::stable::linux_dmabuf_v1::zwp_linux_buffer_params_v1::Flags;
/// Parameters for a shared memory buffer