]> git.lizzy.rs Git - rust.git/commitdiff
Don't talk about determinism
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Thu, 24 Sep 2020 07:43:10 +0000 (09:43 +0200)
committerOliver Scherer <github35764891676564198441@oli-obk.de>
Thu, 24 Sep 2020 07:43:10 +0000 (09:43 +0200)
compiler/rustc_session/src/lint/builtin.rs

index 8e1c843ae61341ecb7112f5997947306f8a0c4de..13a4057a35bdf5858c4c8cb797e67e01d7e0f18c 100644 (file)
 }
 
 declare_lint! {
-    /// The `pointer_structural_match` lint detects pointers used in patterns that do not
-    /// behave deterministically across optimizations.
+    /// The `pointer_structural_match` lint detects pointers used in patterns whose behaviour
+    /// cannot be relied upon across compiler versions and optimization levels.
     ///
     /// ### Example
     ///