about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2025-04-18 11:25:46 -0400
committerTamir Duberstein <tamird@gmail.com>2025-04-21 10:48:46 -0400
commitaedbd2d1ec91339954573b691022f89d169f9b84 (patch)
treefed4301589e99cd5390a382d9935c8581f11babd
parent87072c1d2ec0b5efbcc23eea838357fc629bcf99 (diff)
downloadrust-aedbd2d1ec91339954573b691022f89d169f9b84.tar.gz
rust-aedbd2d1ec91339954573b691022f89d169f9b84.zip
Replace colon with parentheses, add missing period
-rw-r--r--library/core/src/bstr/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/bstr/mod.rs b/library/core/src/bstr/mod.rs
index 07d4fd911d3..13127d645a2 100644
--- a/library/core/src/bstr/mod.rs
+++ b/library/core/src/bstr/mod.rs
@@ -36,7 +36,7 @@ use crate::ops::{Deref, DerefMut, DerefPure};
 /// presented as hex escape sequences.
 ///
 /// The `Display` implementation behaves as if the `ByteStr` were first lossily converted to a
-/// `str`, with invalid UTF-8 presented as the Unicode replacement character: �
+/// `str`, with invalid UTF-8 presented as the Unicode replacement character (�).
 #[unstable(feature = "bstr", issue = "134915")]
 #[repr(transparent)]
 #[doc(alias = "BStr")]