Skip to content

Commit 8e80c39

Browse files
authored
Fix trailing space showing up in example
The current text is rendered as: U+005B ..= U+0060 ``[ \ ] ^ _ ` ``, or. This patch changes that to render as: U+005B ..= U+0060 `` [ \ ] ^ _ ` ``, or The reason for that, is that CommonMark has a solution for starting or ending inline code with a backtick/grave accent: padding both sides with a space, makes that padding disappear.
1 parent 6ce7609 commit 8e80c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/num/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ impl u8 {
623623
///
624624
/// - U+0021 ..= U+002F `! " # $ % & ' ( ) * + , - . /`, or
625625
/// - U+003A ..= U+0040 `: ; < = > ? @`, or
626-
/// - U+005B ..= U+0060 ``[ \ ] ^ _ ` ``, or
626+
/// - U+005B ..= U+0060 `` [ \ ] ^ _ ` ``, or
627627
/// - U+007B ..= U+007E `{ | } ~`
628628
///
629629
/// # Examples

0 commit comments

Comments
 (0)