diff --git a/geo/src/algorithm/stitch.rs b/geo/src/algorithm/stitch.rs index 1fa8027f4..643fbd6ce 100644 --- a/geo/src/algorithm/stitch.rs +++ b/geo/src/algorithm/stitch.rs @@ -103,10 +103,10 @@ pub trait StitchTriangles: private::Stitchable { /// │./..\../.\../..\.│ /// │/....\/...\/....\│ /// └─────────────────┘ - /// - /// │ │ │ - /// ▼ ▼ ▼ - /// + /// + /// │ │ │ + /// ▼ ▼ ▼ + /// /// ┌────────x────────┐ /// │ / \ │ /// │ / \ │ @@ -189,9 +189,9 @@ fn same_line(l1: &Line, l2: &Line) -> bool { /// kinds of lines: /// /// - boundary lines: these are the unique lines on the boundary of the compound shape which is -/// formed by the collection of polygons +/// formed by the collection of polygons /// - inner lines: these are all non-boundary lines. They are not unique and have exactly one -/// duplicate on one adjacent polygon in the collection (as long as the input is valid!) +/// duplicate on one adjacent polygon in the collection (as long as the input is valid!) fn find_boundary_lines(lines: Vec>) -> Vec> { lines.into_iter().fold(Vec::new(), |mut lines, new_line| { if let Some(idx) = lines.iter().position(|line| same_line(line, &new_line)) {