]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/unicode.rs
Auto merge of #9148 - arieluy:then_some_unwrap_or, r=Jarcho
[rust.git] / clippy_lints / src / unicode.rs
index afd7be89a4e289c94764d31c0eb27f12de4ff5de..cc64d17be05520feefc3a13d3563e149a8d344de 100644 (file)
@@ -41,7 +41,8 @@
     /// ```rust
     /// let x = String::from("€");
     /// ```
-    /// Could be written as:
+    ///
+    /// Use instead:
     /// ```rust
     /// let x = String::from("\u{20ac}");
     /// ```