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.52s Running `target/debug/examples/export_essential` === Building essential identity scenario === two_scalars: dim=2, size=2 two_scalars_3d: dim=3, size=0 Attempting contraction... Contraction failed: OutOfBounds Fallback: using half_braid half_braid: dim=3, size=1 padded_3d: dim=3, size=2 wrapped_4d: dim=4, size=1