-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix latest clippy assertion failures (#910)
* Use idiomatic assertions Signed-off-by: Thane Thomson <[email protected]> * Fix self conventions Signed-off-by: Thane Thomson <[email protected]> * Rename Time::to_rfc3339 to Time::as_rfc3339 to fix self convention Signed-off-by: Thane Thomson <[email protected]> * Remove unnecessary clones for Copy-able structs Signed-off-by: Thane Thomson <[email protected]> * Use idiomatic assertions Signed-off-by: Thane Thomson <[email protected]> * Use std::mem::take, which already provides this functionality Signed-off-by: Thane Thomson <[email protected]> * Use idiomatic assertions Signed-off-by: Thane Thomson <[email protected]> * Reduce to more idiomatic form Signed-off-by: Thane Thomson <[email protected]> * Pin tokio versions to 1.6.2 until they fix broken docsrs config Signed-off-by: Thane Thomson <[email protected]> * Rename to be consistent with Rust self conventions Signed-off-by: Thane Thomson <[email protected]> * Add .changelog entry for API change Signed-off-by: Thane Thomson <[email protected]>
- Loading branch information
1 parent
795e3bd
commit 1b3464e
Showing
16 changed files
with
38 additions
and
36 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
.changelog/unreleased/breaking-changes/909-self-conventions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* `[tendermint]` Rename `time::Time::to_rfc3339` to `as_rfc3339` to be | ||
consistent with Rust's [self reference | ||
conventions](https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention) | ||
([#910](https://github.com/informalsystems/tendermint-rs/pull/910)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters