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 clippy lints #23

Merged
merged 5 commits into from
Aug 16, 2021
Merged

Conversation

FinnRG
Copy link
Contributor

@FinnRG FinnRG commented Jul 13, 2021

I fixed every clippy lint (except for the "this if has identical blocks" lint, because it would break the current structure). The fixes are separated in three commits to give it a better structure.

@FinnRG FinnRG mentioned this pull request Jul 13, 2021
Copy link
Owner

@probablykasper probablykasper left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Overall nice improvements. I feel like I sometimes prefer explicit return and Ok(), but I don't think I'm consistent about it, so might as well go for one I suppose.

src/evaluator.rs Show resolved Hide resolved
src/lexer.rs Outdated Show resolved Hide resolved
src/lexer.rs Outdated Show resolved Hide resolved
src/lexer.rs Outdated Show resolved Hide resolved
@FinnRG FinnRG requested a review from probablykasper July 14, 2021 18:55
@FinnRG
Copy link
Contributor Author

FinnRG commented Jul 14, 2021

@probablykasper Can you perform a squash merge from your site or should I make a new PR with a single commit?

@probablykasper
Copy link
Owner

Yeah, sure

@probablykasper probablykasper merged commit d8af50d into probablykasper:master Aug 16, 2021
@probablykasper
Copy link
Owner

Forgot to squash merge, oh well 🤦

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.

3 participants