Skip to content

Commit bd4a63c

Browse files
authored
Rollup merge of #100585 - wooorm:patch-1, r=Mark-Simulacrum
Fix trailing space showing up in example The current text is rendered as: U+005B ..= U+0060 ``[ \ ] ^ _ ` ``, or (**note the final space!**) This patch changes that to render as: U+005B ..= U+0060 `` [ \ ] ^ _ ` ``, or (**note no final space!**) 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.
2 parents d499065 + 8e80c39 commit bd4a63c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/num/mod.rs

Lines changed: 1 addition & 1 deletion
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)