mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Fix clippy warnings
This commit is contained in:
1 parent
1b7d139f21
commit
f2bfedd3a6
3 files changed
+6
-4
No files matched your search
+1
-1
@@ -249,7 +249,7 @@ fn build_hyperfine_options<'a>(
|
||||
/// Build the ExportManager that will export the results specified
|
||||
/// in the given ArgMatches
|
||||
fn build_export_manager(matches: &ArgMatches<'_>) -> io::Result<ExportManager> {
|
||||
let mut export_manager = ExportManager::new();
|
||||
let mut export_manager = ExportManager::default();
|
||||
{
|
||||
let mut add_exporter = |flag, exporttype| -> io::Result<()> {
|
||||
if let Some(filename) = matches.value_of(flag) {
|
||||
|
||||
Reference in new issue
Block a user