Skip to content

compiler: fix duplicated "the" in two doc-comments#156560

Open
lphuc2250gma wants to merge 1 commit into
rust-lang:mainfrom
lphuc2250gma:fix/duplicated-the-in-compiler-doc-comments
Open

compiler: fix duplicated "the" in two doc-comments#156560
lphuc2250gma wants to merge 1 commit into
rust-lang:mainfrom
lphuc2250gma:fix/duplicated-the-in-compiler-doc-comments

Conversation

@lphuc2250gma
Copy link
Copy Markdown

Two one-line typo fixes for duplicated "the" in compiler doc-comments:

  • compiler/rustc_type_ir/src/solve/mod.rs — "only if any of the the opaques in the opaque type storage has a hidden type" → "...any of the opaques in..."
  • compiler/rustc_borrowck/src/diagnostics/var_name.rs — "/// Find the the name and span of the variable corresponding to the given region." → "/// Find the name and span of the variable corresponding to the given region."

No code/behavior change.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels May 14, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 14, 2026

r? @jackh726

rustbot has assigned @jackh726.
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: borrowck, compiler, types
  • borrowck, compiler, types expanded to 73 candidates
  • Random selection from 17 candidates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants