Skip to content

Commit

Permalink
reduce boilerplate
Browse files Browse the repository at this point in the history
Fix a couple clippy lints.
  • Loading branch information
CobaltCause committed May 19, 2022
1 parent 9d0e771 commit 1a566bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ impl Argument {
// correctly-set content type but missing SchemaObject
// means it's any JSON type.
|| Ok(Type::Any),
|x| Ok(Type::try_from(x)?),
Type::try_from,
)
})
})
Expand Down

0 comments on commit 1a566bc

Please sign in to comment.