Skip to content

Commit

Permalink
Upgrade to Rust 1.73.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Oct 5, 2023
1 parent c78b675 commit bb49fa9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
docker run --rm \
-v $PWD:/code \
-w /code \
rust:1.72.0-alpine3.18 \
rust:1.72.1-alpine3.18 \
sh -c 'apk add musl-dev && cargo run -p package -- dist'
- persist_to_workspace:
root: dist
Expand Down
2 changes: 1 addition & 1 deletion jump/src/comparable_regex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl Eq for ComparableRegex {}

impl PartialOrd<Self> for ComparableRegex {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
self.0.as_str().partial_cmp(other.0.as_str())
Some(self.cmp(other))
}
}

Expand Down
6 changes: 4 additions & 2 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[toolchain]
# N.B.: Update .github and .circleci yaml to use a matching image.
channel = "1.72.1"
# N.B.: Update .github and .circleci yaml to use a matching imagae, if available.
# Although a version match is not required (cargo downloads and installs the
# toolchain described here if not present), it does speed up CI builds.
channel = "1.73.0"
components = [
"cargo",
"clippy",
Expand Down

0 comments on commit bb49fa9

Please sign in to comment.