diff --git a/crates/topola-egui/src/painter.rs b/crates/topola-egui/src/painter.rs index da14c50..429aad8 100644 --- a/crates/topola-egui/src/painter.rs +++ b/crates/topola-egui/src/painter.rs @@ -5,10 +5,7 @@ use geo::{CoordsIter, Point, Polygon}; use rstar::AABB; use topola::{ - geometry::{ - primitive::PrimitiveShape, - shape::AccessShape, - }, + geometry::{primitive::PrimitiveShape, shape::AccessShape}, math::Circle, }; diff --git a/examples/specctra.rs b/examples/specctra.rs index 5655baa..7a060d9 100644 --- a/examples/specctra.rs +++ b/examples/specctra.rs @@ -19,7 +19,9 @@ fn main() -> Result<(), std::io::Error> { let invoker = Invoker::new(Autorouter::new(board).unwrap()); let mut file = File::create("example.ses").unwrap(); - design.write_ses(invoker.autorouter().board(), &mut file).unwrap(); + design + .write_ses(invoker.autorouter().board(), &mut file) + .unwrap(); //let filename = design.get_name(); Ok(()) diff --git a/src/lib.rs b/src/lib.rs index b3cfdaa..a3bc8a8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,7 +14,6 @@ html_logo_url = "https://codeberg.org/topola/topola/raw/commit/e1b56875edf039aab9f41868826bcd3a92097133/assets/logo.svg" )] #![cfg_attr(not(feature = "disable_contracts"), feature(try_blocks))] - // TODO: fix all occurences #![allow(unused_must_use)] diff --git a/tests/common/mod.rs b/tests/common/mod.rs index e342507..87209c3 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -12,9 +12,7 @@ use topola::{ Autorouter, }, board::{AccessMesadata, Board}, - drawing::{ - graph::{GetLayer, GetMaybeNet}, - }, + drawing::graph::{GetLayer, GetMaybeNet}, geometry::{shape::MeasureLength, GenericNode}, graph::{GetPetgraphIndex, MakeRef}, layout::LayoutEdit,