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:
Stuart Cook 2025-11-11 21:11:51 +11:00 committed by GitHub
commit 0c615a1adb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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