chore: add rustfmt config

This commit is contained in:
Vukašin Vojinović 2026-04-30 16:07:25 +02:00 committed by Ashley Wulber
parent 9abc4d483b
commit 9c2a86a8f4
98 changed files with 419 additions and 540 deletions

View file

@ -3,10 +3,8 @@
use slotmap::{SecondaryMap, SparseSecondaryMap};
use super::{
Entity, Model, Selectable,
category::{ItemCategory, ItemInterface},
};
use super::category::{ItemCategory, ItemInterface};
use super::{Entity, Model, Selectable};
/// A newly-inserted item which may have additional actions applied to it.
pub struct EntityMut<

View file

@ -2,10 +2,8 @@ pub mod category;
pub mod entity;
pub mod selection;
use std::{
any::{Any, TypeId},
collections::{HashMap, VecDeque},
};
use std::any::{Any, TypeId};
use std::collections::{HashMap, VecDeque};
use category::{ItemCategory, ItemInterface};
use entity::EntityMut;

View file

@ -3,10 +3,8 @@
//! Describes logic specific to the single-select and multi-select modes of a model.
use super::{
Entity, Model,
category::{ItemCategory, ItemInterface},
};
use super::category::{ItemCategory, ItemInterface};
use super::{Entity, Model};
use std::collections::HashSet;
/// Describes a type that has selectable items.