mirror of https://codeberg.org/topola/topola.git
chore: cargo fmt
This commit is contained in:
parent
e1d875ae72
commit
2e4b3b52ab
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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(())
|
||||
|
|
|
|||
|
|
@ -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)]
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue