Skip to content
Myr

Fix format call

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent a35e7e2 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/export/mod.rs+1 added-1 removed
51 unmodified lines
52impl ExportManager {53 /// Add an additional exporter to the ExportManager54 pub fn add_exporter(&mut self, export_type: ExportType, filename: &str) -> Result<()> {55 let _ = File::create(filename)56 .with_context(|| format!("Could not create export file '{filename}'"))?;56 .with_context(|| format!("Could not create export file '{}'", filename))?;5758 let exporter: Box<dyn Exporter> = match export_type {59 ExportType::Asciidoc => Box::new(AsciidocExporter::default()),60 ExportType::Csv => Box::new(CsvExporter::default()),
27 unmodified lines