Indicate that libm feature only builds on latest Rust

This commit is contained in:
Yoan Lecoq 2019-09-11 12:26:31 +02:00 committed by Josh Stone
parent 63047365be
commit 2d113f56c8
1 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ default-features = false
```
The `Float` and `Real` traits are only available when either `std` or `libm` is enabled.
The `libm` feature is only available with Rust 1.31 and later.
The `FloatCore` trait is always available. `MulAdd` and `MulAddAssign` for `f32`
and `f64` also require `std` or `libm`, as do implementations of signed and floating-