diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37ff5c68..e145ba74 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,7 @@ jobs: name: Setup Cargo Toolchain 🛎️ with: components: rustfmt, clippy, llvm-tools-preview - toolchain: nightly + toolchain: stable default: true - name: Check Code Format 🔧 run: | diff --git a/proto/src/lib.rs b/proto/src/lib.rs index edd5d165..3da3f2f5 100644 --- a/proto/src/lib.rs +++ b/proto/src/lib.rs @@ -1,4 +1,3 @@ -#[allow(clippy::derive_partial_eq_without_eq)] pub mod meta { include!(concat!(env!("OUT_DIR"), "/meta.rs")); } diff --git a/src/db.rs b/src/db.rs index 2873fb73..54e3dcfa 100644 --- a/src/db.rs +++ b/src/db.rs @@ -99,7 +99,7 @@ impl Core { } } - fids.sort(); + fids.sort_unstable(); for fid in &fids { let memtable = Self::open_mem_table(opts, *fid)?;