Rollup merge of #4847 - rust-lang:offest, r=phansch
fixing a typo changelog: none
This commit is contained in:
commit
a05f3cb9a1
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…
Add table
Add a link
Reference in a new issue