more info on todo comment and allow clippy lint

This commit is contained in:
Isse 2023-05-10 15:22:35 +02:00
parent 1617c180ef
commit 9fa4c7217e
2 changed files with 4 additions and 1 deletions

View File

@ -45,6 +45,8 @@ make_case_elim!(
}
);
// We can't derive this because of the `make_case_elim` macro.
#[allow(clippy::derivable_impls)]
impl Default for StructureBlock {
fn default() -> Self { StructureBlock::None }
}

View File

@ -205,7 +205,8 @@ pub fn handle_create_ship(
let collider = ship.make_collider();
let voxel_colliders_manifest = VOXEL_COLLIDER_MANIFEST.read();
// TODO: find better solution for this.
// TODO: Find better solution for this, maybe something like a serverside block
// of interests.
let (mut steering, mut seats) = {
let mut steering = Vec::new();
let mut seats = Vec::new();