about summary refs log tree commit diff
path: root/clippy_lints/src/methods
diff options
context:
space:
mode:
authorPhil Hansch <dev@phansch.net>2019-11-28 10:19:06 +0100
committerGitHub <noreply@github.com>2019-11-28 10:19:06 +0100
commita05f3cb9a187f97730cfa72aab04f2807204c976 (patch)
treee8b7fdcff88b5f31e98857f169591f917ac8e8d2 /clippy_lints/src/methods
parent1165176840db39af8503b1d6ed0746586b6fd0d4 (diff)
parent47ef5394dea149f0a76d97a4b11f8f1a12673f9c (diff)
downloadrust-a05f3cb9a187f97730cfa72aab04f2807204c976.tar.gz
rust-a05f3cb9a187f97730cfa72aab04f2807204c976.zip
Rollup merge of #4847 - rust-lang:offest, r=phansch
fixing a typo

changelog: none
Diffstat (limited to 'clippy_lints/src/methods')
-rw-r--r--clippy_lints/src/methods/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs
index d2067cace94..057d1f3bedf 100644
--- a/clippy_lints/src/methods/mod.rs
+++ b/clippy_lints/src/methods/mod.rs
@@ -1075,7 +1075,7 @@ declare_clippy_lint! {
     ///
     /// **Example:**
     /// ```ignore
-    /// unsafe { (&() as *const ()).offest(1) };
+    /// unsafe { (&() as *const ()).offset(1) };
     /// ```
     pub ZST_OFFSET,
     correctness,