Skip to content
New issue

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

Remove Clone from TokenStream #1701

Closed
wants to merge 1 commit into from
Closed

Conversation

maciektr
Copy link
Contributor

@maciektr maciektr commented Oct 28, 2024

commit-id:c34c8d99
@maciektr maciektr marked this pull request as ready for review October 30, 2024 13:20
@@ -308,14 +308,15 @@ impl ProcMacroHostPlugin {
return all_none;
}
};
let original = token_stream.to_string();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
let original = token_stream.to_string();
let token_stream_string = token_stream.to_string();

@@ -597,10 +598,11 @@ impl ProcMacroHostPlugin {
token_stream: TokenStream,
stable_ptr: SyntaxStablePtrId,
) -> PluginResult {
let original = token_stream.to_string();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: same as above

@maciektr
Copy link
Contributor Author

maciektr commented Nov 8, 2024

Closing pull request: commit has gone away

@maciektr maciektr closed this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants