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

Fix new clippy lint (rust 1.74.0) #355

Merged
merged 1 commit into from
Nov 18, 2023
Merged

Fix new clippy lint (rust 1.74.0) #355

merged 1 commit into from
Nov 18, 2023

Conversation

rkuris
Copy link
Collaborator

@rkuris rkuris commented Nov 17, 2023

error: unnecessary map on constructor Some(_)
--> firewood/src/merkle.rs:1612:21
|
1612 | let value = Some(value).map(Data);
| ^^^^^^^^^^^^^^^^^^^^^ help: try: Some(Data(value))
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_on_constructor
= note: -D clippy::unnecessary-map-on-constructor implied by -D warnings
= help: to override -D warnings add #[allow(clippy::unnecessary_map_on_constructor)]

Checking fwdctl v0.0.4 (/home/runner/work/firewood/firewood/fwdctl)

error

@rkuris rkuris merged commit 55f976a into main Nov 18, 2023
5 checks passed
@rkuris rkuris deleted the rkuris/fix-lint branch November 18, 2023 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants