mirror of
https://github.com/hannobraun/Fornjot
synced 2025-08-05 00:36:15 +00:00
Clean up imports
This commit is contained in:
parent
bf2c770d9f
commit
c46b9c5210
@ -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!(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user