chore(clippy): fix new lints (#2507)

This commit is contained in:
David Knaack
2021-03-25 21:03:19 +01:00
committed by GitHub
parent 28f7416a6e
commit ba40ad5ce6
10 changed files with 63 additions and 61 deletions
+4 -4
View File
@@ -133,13 +133,13 @@ impl<'a> ModuleRenderer<'a> {
}
pub enum FixtureProvider {
GIT,
HG,
Git,
Hg,
}
pub fn fixture_repo(provider: FixtureProvider) -> io::Result<TempDir> {
match provider {
FixtureProvider::GIT => {
FixtureProvider::Git => {
let path = tempfile::tempdir()?;
Command::new("git")
@@ -166,7 +166,7 @@ pub fn fixture_repo(provider: FixtureProvider) -> io::Result<TempDir> {
Ok(path)
}
FixtureProvider::HG => {
FixtureProvider::Hg => {
let path = tempfile::tempdir()?;
Command::new("hg")