mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Add link to Unicode White_Space property
This commit is contained in:
@@ -223,9 +223,11 @@ pub fn escape_ascii(&self) -> EscapeAscii<'_> {
|
||||
///
|
||||
/// 'Whitespace' refers to the definition used by
|
||||
/// [`u8::is_ascii_whitespace`]. Importantly, this definition excludes
|
||||
/// the `\0x0B` byte even though it has the unicode WhiteSpace property
|
||||
/// the `\0x0B` byte even though it has the Unicode [`White_Space`] property
|
||||
/// and is removed by [`str::trim_start`].
|
||||
///
|
||||
/// [`White_Space`]: https://www.unicode.org/reports/tr44/#White_Space
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
@@ -254,9 +256,11 @@ pub const fn trim_ascii_start(&self) -> &[u8] {
|
||||
///
|
||||
/// 'Whitespace' refers to the definition used by
|
||||
/// [`u8::is_ascii_whitespace`]. Importantly, this definition excludes
|
||||
/// the `\0x0B` byte even though it has the unicode WhiteSpace property
|
||||
/// the `\0x0B` byte even though it has the Unicode [`White_Space`] property
|
||||
/// and is removed by [`str::trim_end`].
|
||||
///
|
||||
/// [`White_Space`]: https://www.unicode.org/reports/tr44/#White_Space
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
@@ -286,9 +290,11 @@ pub const fn trim_ascii_end(&self) -> &[u8] {
|
||||
///
|
||||
/// 'Whitespace' refers to the definition used by
|
||||
/// [`u8::is_ascii_whitespace`]. Importantly, this definition excludes
|
||||
/// the `\0x0B` byte even though it has the unicode WhiteSpace property
|
||||
/// the `\0x0B` byte even though it has the Unicode [`White_Space`] property
|
||||
/// and is removed by [`str::trim`].
|
||||
///
|
||||
/// [`White_Space`]: https://www.unicode.org/reports/tr44/#White_Space
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
|
||||
@@ -2900,10 +2900,11 @@ pub const fn make_ascii_lowercase(&mut self) {
|
||||
///
|
||||
/// 'Whitespace' refers to the definition used by
|
||||
/// [`u8::is_ascii_whitespace`]. Importantly, this definition excludes
|
||||
/// the U+000B code point even though it has the unicode WhiteSpace property
|
||||
/// the U+000B code point even though it has the Unicode [`White_Space`] property
|
||||
/// and is removed by [`str::trim_start`].
|
||||
///
|
||||
/// [`u8::is_ascii_whitespace`]: u8::is_ascii_whitespace
|
||||
/// [`White_Space`]: https://www.unicode.org/reports/tr44/#White_Space
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@@ -2927,10 +2928,11 @@ pub const fn trim_ascii_start(&self) -> &str {
|
||||
///
|
||||
/// 'Whitespace' refers to the definition used by
|
||||
/// [`u8::is_ascii_whitespace`]. Importantly, this definition excludes
|
||||
/// the U+000B code point even though it has the unicode WhiteSpace property
|
||||
/// the U+000B code point even though it has the Unicode [`White_Space`] property
|
||||
/// and is removed by [`str::trim_end`].
|
||||
///
|
||||
/// [`u8::is_ascii_whitespace`]: u8::is_ascii_whitespace
|
||||
/// [`White_Space`]: https://www.unicode.org/reports/tr44/#White_Space
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@@ -2955,10 +2957,11 @@ pub const fn trim_ascii_end(&self) -> &str {
|
||||
///
|
||||
/// 'Whitespace' refers to the definition used by
|
||||
/// [`u8::is_ascii_whitespace`]. Importantly, this definition excludes
|
||||
/// the U+000B code point even though it has the unicode WhiteSpace property
|
||||
/// the U+000B code point even though it has the Unicode [`White_Space`] property
|
||||
/// and is removed by [`str::trim`].
|
||||
///
|
||||
/// [`u8::is_ascii_whitespace`]: u8::is_ascii_whitespace
|
||||
/// [`White_Space`]: https://www.unicode.org/reports/tr44/#White_Space
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user