Skip to content

Commit

Permalink
upgrade to Rust v1.58.0 (#14174)
Browse files Browse the repository at this point in the history
Upgrade to Rust v1.58.0.

Changes:
- [Captured identifiers in format strings](https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html#captured-identifiers-in-format-strings)
- [More #[must_use] in the standard library](https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html#more-must_use-in-the-standard-library)
  • Loading branch information
Tom Dyas authored Jan 14, 2022
1 parent d28b781 commit 6759bd7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.57.0-*
path: '~/.rustup/toolchains/1.58.0-*
~/.rustup/update-hashes
Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.57.0-*
path: '~/.rustup/toolchains/1.58.0-*
~/.rustup/update-hashes
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.57.0-*
path: '~/.rustup/toolchains/1.58.0-*
~/.rustup/update-hashes
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.57.0-*
path: '~/.rustup/toolchains/1.58.0-*
~/.rustup/update-hashes
Expand Down Expand Up @@ -399,7 +399,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.57.0-*
path: '~/.rustup/toolchains/1.58.0-*
~/.rustup/update-hashes
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.57.0"
channel = "1.58.0"
components = [
"cargo",
"clippy",
Expand Down
1 change: 1 addition & 0 deletions src/rust/engine/async_value/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ impl<T: Clone + Send + Sync + 'static> AsyncValueReceiver<T> {
return Some(value.clone());
}

#[allow(clippy::question_mark)]
if item_receiver.changed().await.is_err() {
return None;
}
Expand Down

0 comments on commit 6759bd7

Please sign in to comment.