get basic parsing and formatting working

This commit is contained in:
Brendan Hansknecht 2023-03-22 16:31:50 -07:00
parent 99547086ee
commit 8f238046be
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
2 changed files with 11 additions and 3 deletions

View file

@ -510,7 +510,7 @@ fn fmt_imports_entry<'a, 'buf>(buf: &mut Buf<'buf>, entry: &ImportsEntry<'a>, in
IngestedFile(file_name, typed_ident) => {
fmt_str_literal(buf, *file_name, indent);
buf.push_str(" as ");
buf.push_str_allow_spaces(" as ");
typed_ident.format(buf, 0);
}
}