History

thanks clippy

Sebastian Thiel committed 4 years ago

Commit 6cc1bd11 parent 1c999031 file · +1 −1Browse files

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

Unified · Split

git-commitgraph/src/file/access.rs+1−1
@@ -55,7 +55,7 @@ impl File { · 54 unmodified lines
5555 let base_graphs_list = &self.data[start..][..self.hash_len * usize::from(self.base_graph_count)];
5656 base_graphs_list
5757 .chunks(self.hash_len)
58− .map(|bytes| git_hash::oid::from_bytes_unchecked(bytes))
58+ .map(git_hash::oid::from_bytes_unchecked)
5959 }
6060
6161 /// return an iterator over all commits in this file.