Skip to content

Commit

Permalink
derive: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Sep 24, 2024
1 parent 46b49ab commit 3e5d60b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miniconf_derive/src/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ impl TreeField {
.map_err(|err| ::miniconf::Error::Inner(0, err))
#validator
.and_then(|new|
#getter_mut.and_then(|item| {
#getter_mut.map(|item| {
*item = new;
Ok(0)
0
})
)
}
Expand Down

0 comments on commit 3e5d60b

Please sign in to comment.