Showing the changes to git-commitgraph/src (1 of 1 file). Show all
Unified · Split
| @@ -55,7 +55,7 @@ impl File { · 54 unmodified lines | ||
| 55 | 55 | let base_graphs_list = &self.data[start..][..self.hash_len * usize::from(self.base_graph_count)]; |
| 56 | 56 | base_graphs_list |
| 57 | 57 | .chunks(self.hash_len) |
| 58 | − .map(|bytes| git_hash::oid::from_bytes_unchecked(bytes)) | |
| 58 | + .map(git_hash::oid::from_bytes_unchecked) | |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /// return an iterator over all commits in this file. |