Skip to content

Commit

Permalink
Merge #435 #441
Browse files Browse the repository at this point in the history
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://togithub.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://togithub.com/CodSpeedHQ/codspeed-rust/releases/tag/v2.2.0)

[Compare Source](https://togithub.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://togithub.com/art049)` in [https://github.com/CodSpeedHQ/codspeed-rust/pull/12](https://togithub.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]>
  • Loading branch information
3 people authored Sep 22, 2023
3 parents 4ef79e5 + 1c01a3c + 49c917d commit 87ca1d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ thiserror = "1.0.44"
deprecate-until = "0.1.0"

[dev-dependencies]
codspeed-criterion-compat = "2.1.0"
codspeed-criterion-compat = "2.2.0"
itertools = "0.11.0"
lazy_static = "1.4.0"
movingai = "1.3.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/r299.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fn add_successor(
to: &Point,
cost: usize,
) {
let entry = n.entry(from.clone()).or_insert_with(Vec::new);
let entry = n.entry(from.clone()).or_default();
entry.push((to.clone(), cost));
}

Expand Down

0 comments on commit 87ca1d3

Please sign in to comment.