chore: cargo fmt

This commit is contained in:
Ellen Emilia Anna Zscheile 2025-02-10 11:28:19 +01:00
parent e1d875ae72
commit 2e4b3b52ab
4 changed files with 5 additions and 9 deletions

View File

@ -5,10 +5,7 @@
use geo::{CoordsIter, Point, Polygon}; use geo::{CoordsIter, Point, Polygon};
use rstar::AABB; use rstar::AABB;
use topola::{ use topola::{
geometry::{ geometry::{primitive::PrimitiveShape, shape::AccessShape},
primitive::PrimitiveShape,
shape::AccessShape,
},
math::Circle, math::Circle,
}; };

View File

@ -19,7 +19,9 @@ fn main() -> Result<(), std::io::Error> {
let invoker = Invoker::new(Autorouter::new(board).unwrap()); let invoker = Invoker::new(Autorouter::new(board).unwrap());
let mut file = File::create("example.ses").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(); //let filename = design.get_name();
Ok(()) Ok(())

View File

@ -14,7 +14,6 @@
html_logo_url = "https://codeberg.org/topola/topola/raw/commit/e1b56875edf039aab9f41868826bcd3a92097133/assets/logo.svg" html_logo_url = "https://codeberg.org/topola/topola/raw/commit/e1b56875edf039aab9f41868826bcd3a92097133/assets/logo.svg"
)] )]
#![cfg_attr(not(feature = "disable_contracts"), feature(try_blocks))] #![cfg_attr(not(feature = "disable_contracts"), feature(try_blocks))]
// TODO: fix all occurences // TODO: fix all occurences
#![allow(unused_must_use)] #![allow(unused_must_use)]

View File

@ -12,9 +12,7 @@ use topola::{
Autorouter, Autorouter,
}, },
board::{AccessMesadata, Board}, board::{AccessMesadata, Board},
drawing::{ drawing::graph::{GetLayer, GetMaybeNet},
graph::{GetLayer, GetMaybeNet},
},
geometry::{shape::MeasureLength, GenericNode}, geometry::{shape::MeasureLength, GenericNode},
graph::{GetPetgraphIndex, MakeRef}, graph::{GetPetgraphIndex, MakeRef},
layout::LayoutEdit, layout::LayoutEdit,