chore(tvix/eval): fix all current clippy lints

Change-Id: I28d6af8cb408f8427a75d30b9120aaa809a1ea40
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6784
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2022-09-24 16:38:16 +03:00 committed by tazjin
parent d54aeb1f20
commit e31f8f735f
4 changed files with 6 additions and 6 deletions

View file

@ -18,7 +18,7 @@ impl PartialOrd for VersionPart<'_> {
}
impl Ord for VersionPart<'_> {
fn cmp(self: &Self, other: &Self) -> Ordering {
fn cmp(&self, other: &Self) -> Ordering {
match (self, other) {
(VersionPart::Number(s1), VersionPart::Number(s2)) => {
// Note: C++ Nix uses `int`, but probably doesn't make a difference