From 47ef5394dea149f0a76d97a4b11f8f1a12673f9c Mon Sep 17 00:00:00 2001 From: Andre Bogus Date: Mon, 25 Nov 2019 14:06:34 +0100 Subject: [PATCH] fixing a typo --- clippy_lints/src/methods/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index 78188527cba..2cf5835e697 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -1075,7 +1075,7 @@ /// /// **Example:** /// ```ignore - /// unsafe { (&() as *const ()).offest(1) }; + /// unsafe { (&() as *const ()).offset(1) }; /// ``` pub ZST_OFFSET, correctness,