History

thanks clippy

Sebastian Thiel committed 3 years ago

Commit bac57dd1 parent e22080e100 files · +172 −230Browse files

Showing the changes to git-commitgraph/src/graph/init.rs (1 of 100 files). Show all

Unified · Split

git-commitgraph/src/graph/init.rs+1−1
@@ -62,7 +62,7 @@ impl Graph { · 61 unmodified lines
6262 err: e,
6363 path: chain_file_path.clone(),
6464 })?;
65− let graph_file_path = commit_graphs_dir.join(format!("graph-{}.graph", hash));
65+ let graph_file_path = commit_graphs_dir.join(format!("graph-{hash}.graph"));
6666 files.push(File::at(&graph_file_path).map_err(|e| Error::File {
6767 err: e,
6868 path: graph_file_path.clone(),