diff --git a/library/core/src/num/int_macros.rs b/library/core/src/num/int_macros.rs
index acd0fea4bc410..b59f28193e2bd 100644
--- a/library/core/src/num/int_macros.rs
+++ b/library/core/src/num/int_macros.rs
@@ -5,7 +5,7 @@ macro_rules! int_impl {
$to_xe_bytes_doc:expr, $from_xe_bytes_doc:expr,
$bound_condition:expr) => {
/// The smallest value that can be represented by this integer type
- #[doc = concat!("(−2", $BITS_MINUS_ONE, "", $bound_condition, ")")]
+ #[doc = concat!("(−2", $BITS_MINUS_ONE, "", $bound_condition, ").")]
///
/// # Examples
///
@@ -18,7 +18,7 @@ macro_rules! int_impl {
pub const MIN: Self = !0 ^ ((!0 as $UnsignedT) >> 1) as Self;
/// The largest value that can be represented by this integer type
- #[doc = concat!("(2", $BITS_MINUS_ONE, " − 1", $bound_condition, ")")]
+ #[doc = concat!("(2", $BITS_MINUS_ONE, " − 1", $bound_condition, ").")]
///
/// # Examples
///