warning: unnecessary parentheses around closure body --> homotopy-core/src/collapse.rs:135:22 | 135 | .filter(|&e| (e.target() != keep)) | ^ ^ | = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default help: remove these parentheses | 135 - .filter(|&e| (e.target() != keep)) 135 + .filter(|&e| e.target() != keep) | warning: unnecessary parentheses around closure body --> homotopy-core/src/collapse.rs:158:22 | 158 | .filter(|&e| (e.source() != keep)) | ^ ^ | help: remove these parentheses | 158 - .filter(|&e| (e.source() != keep)) 158 + .filter(|&e| e.source() != keep) | warning: `homotopy-core` (lib) generated 2 warnings (run `cargo fix --lib -p homotopy-core` to apply 2 suggestions) Compiling homotopy-core v0.1.0 (/home/maximus/.env/extern/diagrammatic-semiotics/homotopy-rs/homotopy-core) Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.74s Running `target/debug/examples/export_padded` === Original half_braid === dimension: 3 size: 1 === Identity cospan === forward is_identity: true backward is_identity: true cospan is_identity: true === Padded diagram === dimension: 3 size: 2 last cospan is_identity: true