Skip to content

Commit c59bef7

Browse files
committed
fix build issue
1 parent 3215326 commit c59bef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/num/int_macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3876,7 +3876,7 @@ macro_rules! int_impl {
38763876
#[unstable(feature = "clamp_magnitude", issue = "148519")]
38773877
#[inline]
38783878
pub fn clamp_magnitude(self, limit: $UnsignedT) -> Self {
3879-
if let Ok(limit) = limit.try_into::<$SelfT>() {
3879+
if let Ok(limit) = core::convert::TryInto::<$SelfT>::try_into(limit) {
38803880
self.clamp(-limit, limit)
38813881
} else {
38823882
self

0 commit comments

Comments
 (0)