Fix lists in doc comments for ascii methods of u8 and char

This commit is contained in:
Lukas Kalbertodt
2017-09-29 18:34:39 +02:00
parent f373916cb5
commit 8a4fa742a1
2 changed files with 8 additions and 4 deletions

View File

@@ -2500,7 +2500,8 @@ impl u8 {
/// Checks if the value is an ASCII alphanumeric character: /// Checks if the value is an ASCII alphanumeric character:
/// ///
/// - U+0041 'A' ... U+005A 'Z', U+0061 'a' ... U+007A 'z', or /// - U+0041 'A' ... U+005A 'Z', or
/// - U+0061 'a' ... U+007A 'z', or
/// - U+0030 '0' ... U+0039 '9'. /// - U+0030 '0' ... U+0039 '9'.
/// ///
/// # Examples /// # Examples
@@ -2574,7 +2575,8 @@ impl u8 {
/// Checks if the value is an ASCII hexadecimal digit: /// Checks if the value is an ASCII hexadecimal digit:
/// ///
/// - U+0030 '0' ... U+0039 '9', U+0041 'A' ... U+0046 'F', or /// - U+0030 '0' ... U+0039 '9', or
/// - U+0041 'A' ... U+0046 'F', or
/// - U+0061 'a' ... U+0066 'f'. /// - U+0061 'a' ... U+0066 'f'.
/// ///
/// # Examples /// # Examples

View File

@@ -1176,7 +1176,8 @@ impl char {
/// Checks if the value is an ASCII alphanumeric character: /// Checks if the value is an ASCII alphanumeric character:
/// ///
/// - U+0041 'A' ... U+005A 'Z', U+0061 'a' ... U+007A 'z', or /// - U+0041 'A' ... U+005A 'Z', or
/// - U+0061 'a' ... U+007A 'z', or
/// - U+0030 '0' ... U+0039 '9'. /// - U+0030 '0' ... U+0039 '9'.
/// ///
/// # Examples /// # Examples
@@ -1242,7 +1243,8 @@ impl char {
/// Checks if the value is an ASCII hexadecimal digit: /// Checks if the value is an ASCII hexadecimal digit:
/// ///
/// - U+0030 '0' ... U+0039 '9', U+0041 'A' ... U+0046 'F', or /// - U+0030 '0' ... U+0039 '9', or
/// - U+0041 'A' ... U+0046 'F', or
/// - U+0061 'a' ... U+0066 'f'. /// - U+0061 'a' ... U+0066 'f'.
/// ///
/// # Examples /// # Examples