diff --git a/README.md b/README.md index fd420705..c8bda5ad 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![crate](https://img.shields.io/crates/v/num-traits.svg)](https://crates.io/crates/num-traits) [![documentation](https://docs.rs/num-traits/badge.svg)](https://docs.rs/num-traits) [![minimum rustc 1.60](https://img.shields.io/badge/rustc-1.60+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html) -[![build status](https://github.com/rust-num/num-traits/workflows/master/badge.svg)](https://github.com/rust-num/num-traits/actions) +[![build status](https://github.com/rust-num/num-traits/actions/workflows/master.yaml/badge.svg)](https://github.com/rust-num/num-traits/actions) Numeric traits for generic mathematics in Rust. @@ -28,11 +28,12 @@ default-features = false # features = ["libm"] # <--- Uncomment if you wish to use `Float` and `Real` without `std` ``` -The `Float` and `Real` traits are only available when either `std` or `libm` is enabled. +The `Float` and `Real` traits are only available when either `std` or `libm` is +enabled. -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- -point exponents in `Pow`. +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-point exponents in `Pow`. ## Releases @@ -46,8 +47,8 @@ The `num-traits` crate is tested for rustc 1.60 and greater. Licensed under either of - * [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) - * [MIT license](http://opensource.org/licenses/MIT) + * [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) + * [MIT license](https://opensource.org/license/mit) at your option. diff --git a/src/float.rs b/src/float.rs index 4124e92c..3362409f 100644 --- a/src/float.rs +++ b/src/float.rs @@ -1109,7 +1109,7 @@ pub trait Float: Num + Copy + NumCast + PartialOrd + Neg { /// // Values between `0` and `min` are Subnormal. /// assert!(!lower_than_min.is_normal()); /// ``` - /// [subnormal]: http://en.wikipedia.org/wiki/Subnormal_number + /// [subnormal]: https://en.wikipedia.org/wiki/Subnormal_number fn is_normal(self) -> bool; /// Returns `true` if the number is [subnormal]. diff --git a/src/lib.rs b/src/lib.rs index 43212c77..c7640573 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,8 +3,8 @@ // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your +// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// , at your // option. This file may not be copied, modified, or distributed // except according to those terms.