Fix clippy lint in widestring-suffix

This commit is contained in:
Henrik Hørlück Berg 2023-08-13 15:12:40 +02:00 committed by Johannes Altmanninger
parent 2f86b31bd3
commit 1fa56972b5

View File

@ -44,7 +44,7 @@ fn widen_literal(lit: Literal) -> TokenStream {
Some(lit) if lit.suffix() == "L" => {
let value = lit.value();
let span = lit.span();
quote_spanned!(span=> crate::wchar::L!(#value)).into()
quote_spanned!(span=> crate::wchar::L!(#value))
}
_ => tt.into(),
}