mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
fixing a typo
This commit is contained in:
parent
cc35165f52
commit
47ef5394de
1 changed files with 1 additions and 1 deletions
|
@ -1075,7 +1075,7 @@ declare_clippy_lint! {
|
|||
///
|
||||
/// **Example:**
|
||||
/// ```ignore
|
||||
/// unsafe { (&() as *const ()).offest(1) };
|
||||
/// unsafe { (&() as *const ()).offset(1) };
|
||||
/// ```
|
||||
pub ZST_OFFSET,
|
||||
correctness,
|
||||
|
|
Loading…
Reference in a new issue