]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/borrow_deref_ref.rs
Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup
[rust.git] / src / tools / clippy / clippy_lints / src / borrow_deref_ref.rs
index 1582ec9ee5ce6e21776768a16d4b4159c0450795..937765b66147912aa6c9172a2b61b4369f91cbec 100644 (file)
@@ -22,7 +22,7 @@
     /// ```
     /// let x = &12;
     /// let addr_x = &x as *const _ as usize;
-    /// let addr_y = &&*x as *const _ as usize; // assert ok now, and lint triggerd.
+    /// let addr_y = &&*x as *const _ as usize; // assert ok now, and lint triggered.
     ///                                         // But if we fix it, assert will fail.
     /// assert_ne!(addr_x, addr_y);
     /// ```