Skip to content

Commit 87ca1d3

Browse files
bors[bot]renovate[bot]samueltardieu
authored
Merge #435 #441
435: chore(deps): update rust crate codspeed-criterion-compat to 2.2.0 r=samueltardieu a=renovate[bot] [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [codspeed-criterion-compat](https://codspeed.io) ([source](https://github.com/CodSpeedHQ/codspeed-rust)) | dev-dependencies | minor | `2.1.0` -> `2.2.0` | --- ### Release Notes <details> <summary>CodSpeedHQ/codspeed-rust (codspeed-criterion-compat)</summary> ### [`v2.2.0`](https://github.com/CodSpeedHQ/codspeed-rust/releases/tag/v2.2.0) [Compare Source](https://github.com/CodSpeedHQ/codspeed-rust/compare/v2.1.0...v2.2.0) #### What's Changed It's now possible to disable `codspeed_criterion_compat` default features. ##### Details - fix: allow disabling criterion default features by [`@&#8203;art049](https://github.com/art049)` in [https://github.com/CodSpeedHQ/codspeed-rust/pull/12](https://github.com/CodSpeedHQ/codspeed-rust/pull/12) **Full Changelog**: CodSpeedHQ/codspeed-rust@v2.1.0...v2.2.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/samueltardieu/pathfinding). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> 441: Use or_default() in test r=samueltardieu a=samueltardieu Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Samuel Tardieu <[email protected]>
3 parents 4ef79e5 + 1c01a3c + 49c917d commit 87ca1d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ thiserror = "1.0.44"
3131
deprecate-until = "0.1.0"
3232

3333
[dev-dependencies]
34-
codspeed-criterion-compat = "2.1.0"
34+
codspeed-criterion-compat = "2.2.0"
3535
itertools = "0.11.0"
3636
lazy_static = "1.4.0"
3737
movingai = "1.3.0"

tests/r299.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fn add_successor(
1717
to: &Point,
1818
cost: usize,
1919
) {
20-
let entry = n.entry(from.clone()).or_insert_with(Vec::new);
20+
let entry = n.entry(from.clone()).or_default();
2121
entry.push((to.clone(), cost));
2222
}
2323

0 commit comments

Comments
 (0)