diff --git a/library/core/src/mem/mod.rs b/library/core/src/mem/mod.rs index 4c4c31eaf0a82..4cf52042a57f6 100644 --- a/library/core/src/mem/mod.rs +++ b/library/core/src/mem/mod.rs @@ -1255,8 +1255,8 @@ impl SizedTypeProperties for T {} /// Nested field accesses may be used, but not array indexes. /// /// If the nightly-only feature `offset_of_enum` is enabled, -/// variants may be traversed as if they were fields. Variants themselves do -/// not have an offset. +/// variants may be traversed as if they were fields. +/// Variants themselves do not have an offset. /// /// Visibility is respected - all types and fields must be visible to the call site: ///