Commit 498a8377 authored by Ben Boeckel's avatar Ben Boeckel

workarea: remove unnecessary `into` calls

parent 13cfe040
......@@ -44,10 +44,7 @@ impl BadCommits {
I::Item: Into<String>,
{
Self {
bad_commits: bad_commits
.into_iter()
.map(|s| CommitId::new(s.into()))
.collect(),
bad_commits: bad_commits.into_iter().map(CommitId::new).collect(),
}
}
}
......
......@@ -59,7 +59,7 @@ impl ReleaseBranch {
{
Self {
branch: branch.into(),
disallowed_commit: CommitId::new(commit.into()),
disallowed_commit: CommitId::new(commit),
required: false,
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment