From 6fe7574e49e6742a41575051ae0831897304afb5 Mon Sep 17 00:00:00 2001 From: lucasliang Date: Tue, 9 Jan 2024 12:06:56 +0100 Subject: [PATCH] Fix clippy errors. Signed-off-by: lucasliang --- .github/workflows/rust.yml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1079a064..e9c8792b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,7 +27,7 @@ jobs: sharedKey: ${{ matrix.os }} - name: Cache dependencies if: ${{ matrix.os == 'ubuntu-latest' }} - run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi + run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install --locked grcov; fi - name: Format run: | make format diff --git a/Cargo.toml b/Cargo.toml index aeb699d6..c0d2ba2a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,7 +69,7 @@ raft = { git = "https://github.com/tikv/raft-rs", branch = "master", default-fea rand = "0.8" rand_distr = "0.4" tempfile = "3.1" -toml = "0.7" +toml = "0.8" [features] internals = []