Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚨 Fix Clippy error 'use_or_insert_with'
Fixes CI failing with commit 6db5049: error: use of `or_insert_with` to construct default value Error: --> src/lib.rs:115:18 | 115 | .or_insert_with(Vec::new)) | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `-D clippy::unwrap-or-default` implied by `-D warnings` https://github.com/nicokosi/pullpito/actions/runs/6887187730/job/18733990115 Seems related to Cargo 1.73 update. I had to uninstall Hombrew-installed Rust to reproduce locally: brew rm rust # Cargo 1.72.1
- Loading branch information