]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/minmax.rs
Rollup merge of #91562 - dtolnay:asyncspace, r=Mark-Simulacrum
[rust.git] / src / tools / clippy / clippy_lints / src / minmax.rs
index dc2dd45e4edb6c1c096b141458f4e5b7e51421d5..a6450aec4f7d46f4e108fbafa953058c741f17f8 100644 (file)
@@ -26,6 +26,7 @@
     /// ```
     /// It will always be equal to `0`. Probably the author meant to clamp the value
     /// between 0 and 100, but has erroneously swapped `min` and `max`.
+    #[clippy::version = "pre 1.29.0"]
     pub MIN_MAX,
     correctness,
     "`min(_, max(_, _))` (or vice versa) with bounds clamping the result to a constant"