Skip to content

Misc clippy fixes#193

Merged
bors[bot] merged 6 commits intoAmanieu:masterfrom
faern:misc-clippy-fixes
Nov 24, 2019
Merged

Misc clippy fixes#193
bors[bot] merged 6 commits intoAmanieu:masterfrom
faern:misc-clippy-fixes

Conversation

@faern
Copy link
Collaborator

@faern faern commented Nov 24, 2019

I went over the crates with Clippy. Some suggested changes are only stylistic, others more optimization oriented. The commit messages should hopefully explain well enough why each change was made. Otherwise see what clippy says on current master :)

I left some warnings, since the suggested changes were not really objectively better, or possibly larger than what I wanted to do right now.

@faern faern requested a review from Amanieu November 24, 2019 20:57
Usage of this was removed in commit da4df87 PR Amanieu#189
@faern
Copy link
Collaborator Author

faern commented Nov 24, 2019

Also pulled in the removal of the autocfg dependency that we stopped using over in #189

Copy link
Owner

@Amanieu Amanieu left a comment

Choose a reason for hiding this comment

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

LGTM

@Amanieu
Copy link
Owner

Amanieu commented Nov 24, 2019

This is technically a breaking change, but we're about to make a major version bump anyways...

@Amanieu
Copy link
Owner

Amanieu commented Nov 24, 2019

bors r+

bors bot added a commit that referenced this pull request Nov 24, 2019
193: Misc clippy fixes r=Amanieu a=faern

I went over the crates with Clippy. Some suggested changes are only stylistic, others more optimization oriented. The commit messages should hopefully explain well enough why each change was made. Otherwise see what clippy says on current master :)

I left some warnings, since the suggested changes were not really objectively better, or possibly larger than what I wanted to do right now.

Co-authored-by: Linus Färnstrand <faern@faern.net>
@faern
Copy link
Collaborator Author

faern commented Nov 24, 2019

My thought exactly. I'm bumping versions and drafting a changelog at the moment. Will submit soon.

@bors
Copy link
Contributor

bors bot commented Nov 24, 2019

@bors bors bot merged commit e0cdcdc into Amanieu:master Nov 24, 2019
@faern faern deleted the misc-clippy-fixes branch November 25, 2019 18:48
bors bot added a commit that referenced this pull request Nov 25, 2019
194: Add changelog entries and bump versions for 0.10.0 release r=Amanieu a=faern

We must first let #193 be merged. Otherwise this changelog is not even correct.

There were a lot of changes since last release. But the vast majority is reformatting and re-arranging to reduce the number of unsafe expressions. As well as adding safety invariant documentation and a few tests. These are cool improvements, but does not affect the public API. I can add something about it in the changelog if you think it's worth it.

`lock_api` only has formatting changes and a few documentation improvements, so I don't think it needs a breaking version change. But might be worth releasing anyway to get the improved documentation out.

The date in the changelog is simply tomorrow. Since I did not think we would have time to release today, and I did not want to just go with `2019-XX-YY` either. If we don't think we'll release tomorrow we can just fix that before merging this PR.

Co-authored-by: Linus Färnstrand <faern@faern.net>
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