diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b127f11f0b..5438ca19eb 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe8ba756c5..3cca65b246 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' diff --git a/runtime/errors.rs b/runtime/errors.rs index f88455b057..79f3c5e7a4 100644 --- a/runtime/errors.rs +++ b/runtime/errors.rs @@ -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", } }