Fix format call

This commit is contained in:
David Peter authored and David Peter committed 2022-02-06 20:19:50 +01:00
1 parent a35e7e2caf
commit d7e96928fb
1 file changed
+1 -1
+1 -1
View File
@@ -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()),