summaryrefslogtreecommitdiffstats
path: root/src/choice.rs
diff options
context:
space:
mode:
authorRyan Geary <rtgnj42@gmail.com>2021-06-24 18:23:50 -0400
committerRyan Geary <rtgnj42@gmail.com>2021-07-12 20:16:27 -0400
commit3f147da84c1d3d824b84d6473361746e91664a1e (patch)
tree56129ccc0c6d1a8b333f3dec1da818b707f92a00 /src/choice.rs
parentb4af4ef2c2d2d3e39ae26f54c7bce0568a4d3236 (diff)
Apply clippy suggestions
Diffstat (limited to 'src/choice.rs')
-rw-r--r--src/choice.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/choice.rs b/src/choice.rs
index 18f2a03..dcf3fe0 100644
--- a/src/choice.rs
+++ b/src/choice.rs
@@ -196,7 +196,7 @@ impl Choice {
.unwrap()
};
- return (start, end);
+ (start, end)
}
}
@@ -215,7 +215,7 @@ mod tests {
I: IntoIterator,
I::Item: Into<OsString> + Clone,
{
- return Config::new(Opt::from_iter(iter));
+ Config::new(Opt::from_iter(iter))
}
}