Fix auto-fixing of deprecated interpolated strings

This commit is contained in:
Joshua Warner 2024-07-29 17:37:35 -07:00
parent e10448e92c
commit 4e8b36adbf
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
8 changed files with 206 additions and 1 deletions

View file

@ -593,7 +593,7 @@ impl<'a> RemoveSpaces<'a> for StrSegment<'a> {
StrSegment::EscapedChar(c) => StrSegment::EscapedChar(c),
StrSegment::Interpolated(t) => StrSegment::Interpolated(t.remove_spaces(arena)),
StrSegment::DeprecatedInterpolated(t) => {
StrSegment::DeprecatedInterpolated(t.remove_spaces(arena))
StrSegment::Interpolated(t.remove_spaces(arena))
}
}
}