diff --git a/crates/compiler/fmt/src/def.rs b/crates/compiler/fmt/src/def.rs index ab77d2d1be..875aea0153 100644 --- a/crates/compiler/fmt/src/def.rs +++ b/crates/compiler/fmt/src/def.rs @@ -285,7 +285,7 @@ impl<'a> Formattable for IngestedFileImport<'a> { fmt_str_literal(buf, path.value, indent); name.keyword.format(buf, indent); - buf.push_str(&name.item.value); + buf.push_str(name.item.value); annotation.format(buf, indent); }