Rollup merge of #148775 - reddevilmidzy:fix-typo, r=joboet
Fix a typo in the documentation for the strict_shr function fix: rust-lang/rust#148761
This commit is contained in:
commit
0c615a1adb
2 changed files with 2 additions and 2 deletions
|
|
@ -1503,7 +1503,7 @@ macro_rules! int_impl {
|
|||
}
|
||||
}
|
||||
|
||||
/// Strict shift right. Computes `self >> rhs`, panicking `rhs` is
|
||||
/// Strict shift right. Computes `self >> rhs`, panicking if `rhs` is
|
||||
/// larger than or equal to the number of bits in `self`.
|
||||
///
|
||||
/// # Panics
|
||||
|
|
|
|||
|
|
@ -1900,7 +1900,7 @@ macro_rules! uint_impl {
|
|||
}
|
||||
}
|
||||
|
||||
/// Strict shift right. Computes `self >> rhs`, panicking `rhs` is
|
||||
/// Strict shift right. Computes `self >> rhs`, panicking if `rhs` is
|
||||
/// larger than or equal to the number of bits in `self`.
|
||||
///
|
||||
/// # Panics
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue