Skip to content

Commit

Permalink
ci: use stable rust version (#140)
Browse files Browse the repository at this point in the history
Signed-off-by: zhangjinpeng1987 <zhangjinpeng@pingcap.com>

* ci: rustfmt, clippy using stable version
  • Loading branch information
zhangjinpeng87 authored Jun 8, 2022
1 parent 72f57fb commit 6c721b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
1 change: 0 additions & 1 deletion proto/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#[allow(clippy::derive_partial_eq_without_eq)]
pub mod meta {
include!(concat!(env!("OUT_DIR"), "/meta.rs"));
}
2 changes: 1 addition & 1 deletion src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl Core {
}
}

fids.sort();
fids.sort_unstable();

for fid in &fids {
let memtable = Self::open_mem_table(opts, *fid)?;
Expand Down

0 comments on commit 6c721b5

Please sign in to comment.