mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-31 00:40:18 +00:00
Fix format call
This commit is contained in:
1 parent
a35e7e2caf
commit
d7e96928fb
1 file changed
+1
-1
+1
-1
@@ -53,7 +53,7 @@ impl ExportManager {
|
||||
/// Add an additional exporter to the ExportManager
|
||||
pub fn add_exporter(&mut self, export_type: ExportType, filename: &str) -> Result<()> {
|
||||
let _ = File::create(filename)
|
||||
.with_context(|| format!("Could not create export file '{filename}'"))?;
|
||||
.with_context(|| format!("Could not create export file '{}'", filename))?;
|
||||
|
||||
let exporter: Box<dyn Exporter> = match export_type {
|
||||
ExportType::Asciidoc => Box::new(AsciidocExporter::default()),
|
||||
|
||||
Reference in new issue
Block a user