diff --git a/data/clamp.toml b/data/clamp.toml new file mode 100644 index 0000000..f3924bd --- /dev/null +++ b/data/clamp.toml @@ -0,0 +1,5 @@ +description = """ +`Ord::clamp()` and `f32::clamp()` / `f64::clamp()` (stable since Rust 1.50) \ +restrict a value to a range, replacing this crate. +""" +url = "https://doc.rust-lang.org/std/cmp/trait.Ord.html#method.clamp"