Skip to content

Clarify ASCII whitespace docs in u8::is_ascii_whitespace#155012

Closed
Brace1000 wants to merge 1 commit intorust-lang:mainfrom
Brace1000:fix-ascii-whitespace-docs
Closed

Clarify ASCII whitespace docs in u8::is_ascii_whitespace#155012
Brace1000 wants to merge 1 commit intorust-lang:mainfrom
Brace1000:fix-ascii-whitespace-docs

Conversation

@Brace1000
Copy link
Copy Markdown
Contributor

Update the docs for u8::is_ascii_whitespace to make it clear
that the standard library uses WhatWG rules for ASCII whitespace,
so vertical tab (U+000B) isn’t included. Also note that the Rust
parser uses a different definition.

Ref: #154765

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Apr 8, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 8, 2026

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @scottmcm, libs
  • @scottmcm, libs expanded to 8 candidates
  • Random selection from Mark-Simulacrum, scottmcm

@rustbot

This comment has been minimized.

The standard library uses the WhatWG Infra Standard definition of ASCII
whitespace, which does not include vertical tab (U+000B). The Rust
language parser uses Unicode Pattern_White_Space, which does include it.
@Brace1000 Brace1000 force-pushed the fix-ascii-whitespace-docs branch from b000558 to ea96c6c Compare April 8, 2026 21:42
@teor2345
Copy link
Copy Markdown
Contributor

teor2345 commented Apr 8, 2026

@Brace1000 sorry, looks like this is a duplicate of PR #154765

That's my mistake, let's find you another Outreachy task instead?

@Mark-Simulacrum
Copy link
Copy Markdown
Member

Closing as a duplicate of a pre-existing PR. Thanks!

@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants