diff --git a/src/offset_of.rs b/src/offset_of.rs index ac13f2e..5c80d9d 100644 --- a/src/offset_of.rs +++ b/src/offset_of.rs @@ -29,7 +29,7 @@ macro_rules! _memoffset__let_base_ptr { // But we have to make sure that `uninit` lives long enough, // so it has to be in the same scope as `$name`. That's why // `let_base_ptr` declares a variable (several, actually) - // instad of returning one. + // instead of returning one. let uninit = $crate::mem::MaybeUninit::<$type>::uninit(); let $name = uninit.as_ptr(); };