Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes docs for ASCII functions to no longer claim U+0021 is '@'. #48529

Merged
merged 1 commit into from
Feb 25, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libcore/num/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2892,7 +2892,7 @@ impl u8 {
}

/// Checks if the value is an ASCII graphic character:
/// U+0021 '@' ... U+007E '~'.
/// U+0021 '!' ... U+007E '~'.
///
/// # Examples
///
Expand Down
2 changes: 1 addition & 1 deletion src/libstd/ascii.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ pub trait AsciiExt {
fn is_ascii_punctuation(&self) -> bool { unimplemented!(); }

/// Checks if the value is an ASCII graphic character:
/// U+0021 '@' ... U+007E '~'.
/// U+0021 '!' ... U+007E '~'.
/// For strings, true if all characters in the string are
/// ASCII graphic characters.
///
Expand Down
2 changes: 1 addition & 1 deletion src/libstd_unicode/char.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ impl char {
}

/// Checks if the value is an ASCII graphic character:
/// U+0021 '@' ... U+007E '~'.
/// U+0021 '!' ... U+007E '~'.
///
/// # Examples
///
Expand Down