about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlolbinarycat <dogedoge61+github@gmail.com>2024-10-31 17:27:31 -0500
committerGitHub <noreply@github.com>2024-10-31 17:27:31 -0500
commitfc67203d59f5a314d51469ed844189191b5663f6 (patch)
tree3441e4fda0cfdb1c3a8a2beab72cddd4697befe3
parentdd651be7bc74b0d897cd0b4ec76104e51c32cb34 (diff)
downloadrust-fc67203d59f5a314d51469ed844189191b5663f6.tar.gz
rust-fc67203d59f5a314d51469ed844189191b5663f6.zip
use semantic line break
Co-authored-by: Jubilee <workingjubilee@gmail.com>
-rw-r--r--library/core/src/mem/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/mem/mod.rs b/library/core/src/mem/mod.rs
index 4c4c31eaf0a..4cf52042a57 100644
--- a/library/core/src/mem/mod.rs
+++ b/library/core/src/mem/mod.rs
@@ -1255,8 +1255,8 @@ impl<T> 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:
 ///