Rollup merge of #53703 - sourcefrog:doc-wrapping, r=frewsxcv
Document .0 to unpack integer from Wrapping
This commit is contained in:
commit
605948f92e
1 changed files with 3 additions and 0 deletions
|
|
@ -122,6 +122,9 @@ nonzero_integers! {
|
|||
/// all standard arithmetic operations on the underlying value are
|
||||
/// intended to have wrapping semantics.
|
||||
///
|
||||
/// The underlying value can be retrieved through the `.0` index of the
|
||||
/// `Wrapping` tuple.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue