Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Delmas <[email protected]>
  • Loading branch information
tdelmas committed Aug 11, 2023
1 parent e1978ed commit f895d83
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions typed_floats_macros/src/impl_self.rs
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,9 @@ pub(crate) fn get_impl_self() -> Vec<Op> {
///
/// See [`f64::to_radians()`] for more details.
})
.result(Box::new(|float| ReturnTypeSpecification::FloatSpecifications(float.s.clone())))
.result(Box::new(|float| {
ReturnTypeSpecification::FloatSpecifications(float.s.clone())
}))
.build(),
OpBuilder::new("cbrt")
.description(quote! {
Expand All @@ -609,7 +611,9 @@ pub(crate) fn get_impl_self() -> Vec<Op> {
///
/// See [`f64::cbrt()`] for more details.
})
.result(Box::new(|float| ReturnTypeSpecification::FloatSpecifications(float.s.clone())))
.result(Box::new(|float| {
ReturnTypeSpecification::FloatSpecifications(float.s.clone())
}))
.build(),
OpBuilder::new("sin")
// For Non-zero, `sin` still produces zeros but the tests can't check it
Expand Down

0 comments on commit f895d83

Please sign in to comment.