minor cleanup

This commit is contained in:
Anton-4 2022-08-22 15:33:18 +02:00
parent 9aee7cdcf6
commit 6df2632157
No known key found for this signature in database
GPG key ID: A13F4A6E21141925
2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ fn expr2_to_string_helper(
match expr2 {
Expr2::SmallStr(arr_string) => {
let _ = write!(out_string, "SmallStr(\"{}\"", arr_string.as_str(),);
let _ = write!(out_string, "SmallStr(\"{}\")", arr_string.as_str());
}
Expr2::Str(pool_str) => {
let _ = write!(out_string, "Str(\"{}\")", pool_str.as_str(pool));

View file

@ -1,5 +1,5 @@
use std::fmt::Write as _;
use std::path::PathBuf; // import without risk of name clashing
use std::fmt::Write as _; // import without risk of name clashing
use std::path::PathBuf;
use bumpalo::Bump;
use ven_pretty::DocAllocator;