History

thanks clippy

Of Rust 1.54

Sebastian Thiel committed 5 years ago

Commit e1964e41 parent ce0b81e38 files · +60 −63Browse files

Showing the changes to git-commitgraph/src (1 of 38 files). Show all

Unified · Split

git-commitgraph/src/file/access.rs+1−1
@@ -85,7 +85,7 @@ impl File { · 84 unmodified lines
85 let mid_sha = self.id_at(file::Position(mid));85 let mid_sha = self.id_at(file::Position(mid));
86 86
87 use std::cmp::Ordering::*;87 use std::cmp::Ordering::*;
88 match id.cmp(&mid_sha) {88 match id.cmp(mid_sha) {
89 Less => upper_bound = mid,89 Less => upper_bound = mid,
90 Equal => return Some(file::Position(mid)),90 Equal => return Some(file::Position(mid)),
91 Greater => lower_bound = mid + 1,91 Greater => lower_bound = mid + 1,