Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Fix "needless_late_init" Clippy lint #79

Merged

Conversation

agunde406
Copy link
Contributor

This lint was introduced in 1.59v of Rust

Checks for late initializations that can be replaced by
a let statement with an initializer.

Assigning in the let statement is less repetitive.

Signed-off-by: Andrea Gunderson agunde@bitwise.io

This lint was introduced in 1.59v of Rust

Checks for late initializations that can be replaced by
a let statement with an initializer.

Assigning in the let statement is less repetitive.

Signed-off-by: Andrea Gunderson <agunde@bitwise.io>
@agunde406 agunde406 merged commit 5c09c96 into hyperledger-archives:main Mar 3, 2022
@agunde406 agunde406 deleted the agunde406-clippy-fix-1.59 branch March 3, 2022 22:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants