Clean up imports

This commit is contained in:
Hanno Braun 2024-05-23 20:42:47 +02:00
parent bf2c770d9f
commit c46b9c5210

View File

@ -1,7 +1,9 @@
use std::collections::HashMap; use std::{collections::HashMap, fmt::Debug};
use crate::storage::Handle; use crate::{
use crate::topology::{Cycle, Face, HalfEdge, Region, Shell}; storage::Handle,
topology::{Cycle, Face, HalfEdge, Region, Shell},
};
#[derive(Default)] #[derive(Default)]
pub struct ReferenceCounter<T, U>(HashMap<Handle<T>, Vec<Handle<U>>>); pub struct ReferenceCounter<T, U>(HashMap<Handle<T>, Vec<Handle<U>>>);
@ -82,8 +84,6 @@ pub struct MultipleReferences<T, U> {
references: Vec<Handle<U>>, references: Vec<Handle<U>>,
} }
use std::fmt::Debug;
impl<T: Debug, U: Debug> Debug for MultipleReferences<T, U> { impl<T: Debug, U: Debug> Debug for MultipleReferences<T, U> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!( write!(