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

Updates for recent versions of Rust. #2

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

simlay
Copy link

@simlay simlay commented Oct 4, 2019

Hi friend,

I came across your project today and found it neat so I cloned the repo and messed around with it. Here's some of the updates I found to make clippy and the recent stable version of rust happy.

Here's the brief summary of changes:

  • Added lots of dyns as suggested by clippy.
  • Removed rust-toolchain because stable rust compiles the project.
  • Fixed Doc-tests with ignore keyword (this simply doesn't test the snippet) but still produces the actual documentation.

There's still a bunch of unused code warnings but I figure this is still a WIP so I didn't touch those.

The reason there's so many changes is because I removed (most) unused whitespace. If you're unhappy with that, I'm okay with reverting that.

Also, I notice that the contributing guidelines mention running cargo fmt --all. I ran this after my changes and it resulted in 1423 deletions and 2139 additions.

Let me know if there's anything you'd like me to change.

Thanks,

* Added lots of dyns
* Removed unused whitespace.
* Removed rust-toolchain because stable rust compiles the project.
* Fixed Doc-tests with ignore keyword.
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.

None yet

1 participant