-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix lints #142
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
src/raft_log.rs
Outdated
@@ -1312,7 +1312,7 @@ mod test { | |||
|
|||
for (i, &(last_index, ref compact, ref wleft, wallow)) in tests.iter().enumerate() { | |||
let store = MemStorage::new(); | |||
for i in 1u64..(last_index + 1) { | |||
for i in 1u64..=(last_index) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
()
is redundant.
The |
Ping |
Fixes some clippy lints.
Affected: