Skip to content

Commit

Permalink
fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JanKaul committed Aug 3, 2023
1 parent b5e5970 commit d6dec7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/iceberg/src/spec/values.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ mod float {
where
D: Deserializer<'de>,
{
f32::deserialize(deserializer).map(|x| OrderedFloat(x))
f32::deserialize(deserializer).map(OrderedFloat)
}
}

Expand All @@ -347,7 +347,7 @@ mod double {
where
D: Deserializer<'de>,
{
f64::deserialize(deserializer).map(|x| OrderedFloat(x))
f64::deserialize(deserializer).map(OrderedFloat)
}
}

Expand Down

0 comments on commit d6dec7c

Please sign in to comment.