Skip to content

Commit 47ef539

Browse files
committed
fixing a typo
1 parent cc35165 commit 47ef539

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)