We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 866dc5a + 3a03cbc commit 9502e5cCopy full SHA for 9502e5c
library/core/src/intrinsics.rs
@@ -1688,8 +1688,8 @@ extern "rust-intrinsic" {
1688
#[rustc_const_stable(feature = "const_int_saturating", since = "1.40.0")]
1689
pub fn saturating_sub<T: Copy>(a: T, b: T) -> T;
1690
1691
- /// Returns the value of the discriminant for the variant in 'v',
1692
- /// cast to a `u64`; if `T` has no discriminant, returns `0`.
+ /// Returns the value of the discriminant for the variant in 'v';
+ /// if `T` has no discriminant, returns `0`.
1693
///
1694
/// The stabilized version of this intrinsic is [`core::mem::discriminant`](crate::mem::discriminant).
1695
#[rustc_const_unstable(feature = "const_discriminant", issue = "69821")]
0 commit comments