Add missing const stability attributes

This commit is contained in:
Jacob Pratt
2021-11-17 21:08:16 -05:00
parent 41f84c258a
commit 1911eb8b61
7 changed files with 14 additions and 7 deletions

View File

@@ -1064,6 +1064,7 @@ macro_rules! int_impl {
///
/// ```
#[stable(feature = "saturating_div", since = "1.58.0")]
#[rustc_const_stable(feature = "saturating_div", since = "1.58.0")]
#[must_use = "this returns the result of the operation, \
without modifying the original"]
#[inline]