chore: upgrade Rust to 1.55.0 (#11965)

This commit is contained in:
Yusuke Tanaka 2021-09-10 10:15:21 +09:00 committed by GitHub
parent fb35cd0ef4
commit 87052927af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
FROM mcr.microsoft.com/vscode/devcontainers/rust:0-1
# Update to Rust 1.54.0
RUN rustup update 1.54.0 && rustup default 1.54.0
# Update to Rust 1.55.0
RUN rustup update 1.55.0 && rustup default 1.55.0
# Install Deno
ENV DENO_INSTALL=/usr/local

View File

@ -78,7 +78,7 @@ jobs:
- name: Install Rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: 1.54.0
rust-version: 1.55.0
- name: Install clippy and rustfmt
if: matrix.job == 'lint'

View File

@ -60,7 +60,7 @@ fn get_io_error_class(error: &io::Error) -> &'static str {
WouldBlock => unreachable!(),
// Non-exhaustive enum - might add new variants
// in the future
_ => unreachable!(),
_ => "Error",
}
}