diff --git a/src/maths.rs b/src/maths.rs index 6345d20..c9c4cba 100644 --- a/src/maths.rs +++ b/src/maths.rs @@ -48,7 +48,8 @@ const FACTORIAL: [Decimal; 28] = [ ]; /// Trait exposing various mathematical operations that can be applied using a Decimal. This is only -/// present when the `maths` feature has been enabled. +/// present when the `maths` feature has been enabled, e.g. by adding the crate with +// `cargo add rust_decimal --features maths` and importing in your Rust file with `use rust_decimal::MathematicalOps;` pub trait MathematicalOps { /// The estimated exponential function, ex. Stops calculating when it is within /// tolerance of roughly `0.0000002`.