diff --git a/library/core/src/num/uint_macros.rs b/library/core/src/num/uint_macros.rs
index 1c97c46862833..dcc0835ecd6d2 100644
--- a/library/core/src/num/uint_macros.rs
+++ b/library/core/src/num/uint_macros.rs
@@ -18,7 +18,7 @@ macro_rules! uint_impl {
pub const MIN: Self = 0;
/// The largest value that can be represented by this integer type
- #[doc = concat!("(2", $BITS, " − 1", $bound_condition, ")")]
+ #[doc = concat!("(2", $BITS, " − 1", $bound_condition, ").")]
///
/// # Examples
///