Skip to content

Commit 8a4fa74

Browse files
Fix lists in doc comments for ascii methods of u8 and char
1 parent f373916 commit 8a4fa74

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/libcore/num/mod.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2500,7 +2500,8 @@ impl u8 {
25002500

25012501
/// Checks if the value is an ASCII alphanumeric character:
25022502
///
2503-
/// - U+0041 'A' ... U+005A 'Z', U+0061 'a' ... U+007A 'z', or
2503+
/// - U+0041 'A' ... U+005A 'Z', or
2504+
/// - U+0061 'a' ... U+007A 'z', or
25042505
/// - U+0030 '0' ... U+0039 '9'.
25052506
///
25062507
/// # Examples
@@ -2574,7 +2575,8 @@ impl u8 {
25742575

25752576
/// Checks if the value is an ASCII hexadecimal digit:
25762577
///
2577-
/// - U+0030 '0' ... U+0039 '9', U+0041 'A' ... U+0046 'F', or
2578+
/// - U+0030 '0' ... U+0039 '9', or
2579+
/// - U+0041 'A' ... U+0046 'F', or
25782580
/// - U+0061 'a' ... U+0066 'f'.
25792581
///
25802582
/// # Examples

src/libstd_unicode/char.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,8 @@ impl char {
11761176

11771177
/// Checks if the value is an ASCII alphanumeric character:
11781178
///
1179-
/// - U+0041 'A' ... U+005A 'Z', U+0061 'a' ... U+007A 'z', or
1179+
/// - U+0041 'A' ... U+005A 'Z', or
1180+
/// - U+0061 'a' ... U+007A 'z', or
11801181
/// - U+0030 '0' ... U+0039 '9'.
11811182
///
11821183
/// # Examples
@@ -1242,7 +1243,8 @@ impl char {
12421243

12431244
/// Checks if the value is an ASCII hexadecimal digit:
12441245
///
1245-
/// - U+0030 '0' ... U+0039 '9', U+0041 'A' ... U+0046 'F', or
1246+
/// - U+0030 '0' ... U+0039 '9', or
1247+
/// - U+0041 'A' ... U+0046 'F', or
12461248
/// - U+0061 'a' ... U+0066 'f'.
12471249
///
12481250
/// # Examples

0 commit comments

Comments
 (0)