Skip to content

Commit a05f3cb

Browse files
authored
Rollup merge of #4847 - rust-lang:offest, r=phansch
fixing a typo changelog: none
2 parents 1165176 + 47ef539 commit a05f3cb

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ declare_clippy_lint! {
10751075
///
10761076
/// **Example:**
10771077
/// ```ignore
1078-
/// unsafe { (&() as *const ()).offest(1) };
1078+
/// unsafe { (&() as *const ()).offset(1) };
10791079
/// ```
10801080
pub ZST_OFFSET,
10811081
correctness,

0 commit comments

Comments
 (0)