Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit81b9e26

Browse files
committed
Wording of the documentation
1 parent876458e commit81b9e26

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎core/src/num/int_macros.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ macro_rules! int_impl {
185185

186186
/// Returns the bit pattern of `self` reinterpreted as an unsigned integer of the same size.
187187
///
188-
/// Thisis a bit safer than`as`because it wouldn't silently changethesize if the code
189-
///is refactored.
188+
/// Thisproduces the same result as an`as`cast, but ensures thatthebit-width remains
189+
///the same.
190190
///
191191
/// # Examples
192192
///

‎core/src/num/uint_macros.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ macro_rules! uint_impl {
186186

187187
/// Returns the bit pattern of `self` reinterpreted as a signed integer of the same size.
188188
///
189-
/// Thisis a bit safer than`as`because it wouldn't silently changethesize if the code
190-
///is refactored.
189+
/// Thisproduces the same result as an`as`cast, but ensures thatthebit-width remains
190+
///the same.
191191
///
192192
/// # Examples
193193
///

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp