We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<&str as quote::ToTokens>::into_token_stream()
proc_macro2::TokenStream::from_str()
Example case: This test does not pass due to panicking in the assertion.
#[test] fn show_quote_bug() { let literal = r#"$player_name == "Alice""#; let from_quote = quote::ToTokens::into_token_stream(literal).to_string(); let from_str = proc_macro2::TokenStream::from_str(literal).unwrap().to_string(); assert_eq!(from_quote, from_str); }
The text was updated successfully, but these errors were encountered:
Yes, those are intentionally different operations.
Sorry, something went wrong.
No branches or pull requests
Example case:
This test does not pass due to panicking in the assertion.
The text was updated successfully, but these errors were encountered: