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

Update Readme, add LICENSE, add clippy and fix lints #40

Merged
merged 5 commits into from
Oct 3, 2019

Conversation

liamsi
Copy link
Member

@liamsi liamsi commented Sep 23, 2019

  • add LICENSE file (Apache License Version 2.0)
  • update links/badges in readme to point to this repo instead of kms
  • add clippy
  • fix clippy lints

Probably best to review this commit by commit.

resolves #39 (does not enable pedantic clippy checks yet to keep the number of changes smaller: #39 (comment) )

 - add LICENSE file
 - update links/badges in readme to point to this repo instead of kms
`cargo fix -Z unstable-options --clippy`

(reviewed manually)
- anonymous lifetimes:
https://doc.rust-lang.org/edition-guide/rust-2018/ownership-and-lifetimes/the-anonymous-lifetime.html
- remove assert!(true)` and `assert!(false) calls in tests (replace with panics)
- use `if let` instead of `match` when there is a single arm only
- fix typo
@liamsi liamsi changed the title Minor changes to Readme file Update Readme, add LICENSE, add clippy and fix lints Sep 23, 2019
Copy link
Member

@ebuchman ebuchman left a comment

Choose a reason for hiding this comment

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

Thanks!

@ebuchman ebuchman merged commit e6106d2 into master Oct 3, 2019
@ebuchman ebuchman deleted the ismail/readme branch October 3, 2019 01:46
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.

Enable Clippy and fix badges
2 participants