Skip to content

Commit 3725e35

Browse files
authored
Consistency.
1 parent 13b4afe commit 3725e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/libcore/mem/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ pub const fn needs_drop<T>() -> bool {
414414
intrinsics::needs_drop::<T>()
415415
}
416416

417-
/// Returns the value of type `T` represented by the all-zeros bit-pattern.
417+
/// Returns the value of type `T` represented by the all-zero byte-pattern.
418418
///
419419
/// This means that, for example, the padding byte in `(u8, u16)` is not
420420
/// necessarily zeroed.

0 commit comments

Comments
 (0)