diff --git a/book/src/how_to/derive_the_traits.md b/book/src/how_to/derive_the_traits.md index 275f067..9b4dc0a 100644 --- a/book/src/how_to/derive_the_traits.md +++ b/book/src/how_to/derive_the_traits.md @@ -83,7 +83,7 @@ parameter to `#[derive_float_eq]` with that underlying type (usually `f32` or ulps_tol = "PointUlps", ulps_tol_derive = "Clone, Copy, Debug, PartialEq", debug_ulps_diff = "PointDebugUlpsDiff", - debug_ulps_diflf_derive = "Clone, Copy, Debug, PartialEq", + debug_ulps_diff_derive = "Clone, Copy, Debug, PartialEq", all_tol = "f64" )] #[derive(Debug, PartialEq, Clone, Copy)] @@ -155,4 +155,4 @@ optionally use [AssertFloatEqAll]. [FloatEqDebugUlpsDiff]: ../../doc/float_eq/trait.FloatEqDebugUlpsDiff.html [FloatEqUlpsTol]: ../../doc/float_eq/trait.FloatEqUlpsTol.html [How to manually implement the traits]: ./manually_implement_the_traits.md -[ULPs]: ../background/float_comparison_algorithms.md#units-in-the-last-place-ulps-comparison \ No newline at end of file +[ULPs]: ../background/float_comparison_algorithms.md#units-in-the-last-place-ulps-comparison