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

Fix or silence clippy warnings #41

Merged
merged 2 commits into from
Mar 28, 2020
Merged

Conversation

dbrgn
Copy link
Collaborator

@dbrgn dbrgn commented Mar 28, 2020

No description provided.

@@ -35,7 +34,7 @@ pub fn get_name_ident_lit(tokens: &proc_macro2::TokenStream, needle: &str) -> Re
for l in stream_from_tokens(tokens) {
match l {
TokenTree::Ident(i) => {
if i.to_string() == needle {
if i == needle {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@MathiasKoch MathiasKoch merged commit da09c39 into FactbirdHQ:master Mar 28, 2020
@dbrgn dbrgn deleted the fix-warnings branch March 28, 2020 20:51
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