Skip to content

Commit edd991a

Browse files
committed
Simplified code snippet
1 parent 4785480 commit edd991a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ pub fn caesar_cipher(input: TokenStream) -> TokenStream {
6161
_ => c,
6262
});
6363
}
64-
let output_lit = syn::LitStr::new(output.as_str(), proc_macro2::Span::call_site()).value();
6564

66-
quote!(#output_lit).into()
65+
quote!(#output).into()
6766
}

0 commit comments

Comments
 (0)