Fix clippy lints (fix #121)

This commit is contained in:
Alex Auvolat
2021-10-26 10:20:05 +02:00
parent b2c51844a1
commit ada7899b24
15 changed files with 56 additions and 58 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ steps:
path: /etc/nix
commands:
- nix-shell --arg release false --run "cargo fmt -- --check"
- nix-shell --arg release false --run "cargo clippy -- --allow clippy::needless_borrow --allow clippy::needless-return --deny warnings"
- nix-shell --arg release false --run "cargo clippy -- --deny warnings"
- name: build
image: nixpkgs/nix:nixos-21.05