Skip to content

docs: fix duplicated-word typos in docs and code comments#1350

Closed
durvesh1992 wants to merge 1 commit into
facebook:mainfrom
durvesh1992:fix/docs-comment-typos
Closed

docs: fix duplicated-word typos in docs and code comments#1350
durvesh1992 wants to merge 1 commit into
facebook:mainfrom
durvesh1992:fix/docs-comment-typos

Conversation

@durvesh1992

Copy link
Copy Markdown

Summary

Fixes accidental duplicated words ("the the", "use use", "when when", "of of", etc.) across user-facing documentation and code/doc comments. These are comment- and docs-only edits with no behavior change, so they are safe and self-contained.

Changes (before → after)

File Before After
docs/users/advanced/deferred_materialization.md this was was observed this was observed
docs/bxl/how_tos/basic_how_tos.md you can use use you can use
app/buck2_data/data.proto Unset if the the command Unset if the command
app/buck2_test/src/command.rs in the the target in the target
app/buck2_execute_local/src/lib.rs Unify the the behavior Unify the behavior
app/buck2_core/src/configuration/constraints.rs when when we migrated when we migrated
app/buck2_core/src/fs/project.rs we need to to resolve we need to resolve
app/buck2_server/src/daemon/disk_state.rs we need and and insert we need and insert
app/buck2_execute/src/execute/output.rs outputs we have have outputs we have
app/buck2_event_observer/src/what_ran.rs type of of actions type of actions
app/buck2_client/src/commands/bxl.rs log is is compatible log is compatible
app/buck2_client/src/commands/query/uquery.rs log this this way log this way
app/buck2_node/src/nodes/frontend.rs part of the the interpreter / for the the label's part of the interpreter / for the label's
app/buck2_server_commands/src/build/result_report.rs reporting the the results reporting the results
app/buck2_build_api/src/build/build_report.rs reporting the the results reporting the results
remote_execution/oss/re_grpc/src/client.rs from the the Remote Execution from the Remote Execution
starlark-rust/starlark_lsp/src/definition.rs up to the the top level up to the top level
starlark-rust/starlark_lsp/src/server.rs is the the file is the file
starlark-rust/starlark/src/collections.rs and and index and index
starlark-rust/starlark/src/values/types/any_array.rs drops in in destructor drops in destructor
starlark-rust/starlark/src/values/layout/vtable.rs equal to to the start equal to the start
dice/dice/src/ctx.rs result of of the given result of the given
dice/dice/src/impls/ctx.rs result of of the given result of the given
integrations/rust-project/src/buck.rs used with with buck used with buck

Notes

  • Vendored / @generated files (e.g. the Bazel Remote Execution proto, testcases/parse/rust.star) and grammatically-valid repeats (e.g. "that that's the case", "and/or") were intentionally left untouched.

Removes accidental duplicated words ('the the', 'use use', 'when when',
'of of', etc.) found across user-facing docs and code/doc comments.
Comment- and docs-only changes; no behavior change.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 29, 2026
@meta-codesync

meta-codesync Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This pull request has been imported. If you are a Meta employee, you can view this in D110087294. (Because this pull request was imported automatically, there will not be any future comments.)

@scottcao scottcao left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@meta-codesync meta-codesync Bot closed this in 85644f1 Jun 29, 2026
@meta-codesync

meta-codesync Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This pull request has been merged in 85644f1.

@meta-codesync meta-codesync Bot added the Merged label Jun 29, 2026
meta-codesync Bot pushed a commit to facebook/starlark-rust that referenced this pull request Jun 29, 2026
Summary:
Fixes accidental duplicated words ("the the", "use use", "when when", "of of", etc.) across user-facing documentation and code/doc comments. These are comment- and docs-only edits with no behavior change, so they are safe and self-contained.

## Changes (before → after)

| File | Before | After |
|------|--------|-------|
| `docs/users/advanced/deferred_materialization.md` | this **was was** observed | this **was** observed |
| `docs/bxl/how_tos/basic_how_tos.md` | you can **use use** | you can **use** |
| `app/buck2_data/data.proto` | Unset if **the the** command | Unset if **the** command |
| `app/buck2_test/src/command.rs` | in **the the** target | in **the** target |
| `app/buck2_execute_local/src/lib.rs` | Unify **the the** behavior | Unify **the** behavior |
| `app/buck2_core/src/configuration/constraints.rs` | **when when** we migrated | **when** we migrated |
| `app/buck2_core/src/fs/project.rs` | we need **to to** resolve | we need **to** resolve |
| `app/buck2_server/src/daemon/disk_state.rs` | we need **and and** insert | we need **and** insert |
| `app/buck2_execute/src/execute/output.rs` | outputs we **have have** | outputs we **have** |
| `app/buck2_event_observer/src/what_ran.rs` | **type of of** actions | **type of** actions |
| `app/buck2_client/src/commands/bxl.rs` | log **is is** compatible | log **is** compatible |
| `app/buck2_client/src/commands/query/uquery.rs` | log **this this** way | log **this** way |
| `app/buck2_node/src/nodes/frontend.rs` | part of **the the** interpreter / for **the the** label's | part of **the** interpreter / for **the** label's |
| `app/buck2_server_commands/src/build/result_report.rs` | reporting **the the** results | reporting **the** results |
| `app/buck2_build_api/src/build/build_report.rs` | reporting **the the** results | reporting **the** results |
| `remote_execution/oss/re_grpc/src/client.rs` | from **the the** Remote Execution | from **the** Remote Execution |
| `starlark-rust/starlark_lsp/src/definition.rs` | up to **the the** top level | up to **the** top level |
| `starlark-rust/starlark_lsp/src/server.rs` | is **the the** file | is **the** file |
| `starlark-rust/starlark/src/collections.rs` | **and and** index | **and** index |
| `starlark-rust/starlark/src/values/types/any_array.rs` | drops **in in** destructor | drops **in** destructor |
| `starlark-rust/starlark/src/values/layout/vtable.rs` | equal **to to** the start | equal **to** the start |
| `dice/dice/src/ctx.rs` | result **of of** the given | result **of** the given |
| `dice/dice/src/impls/ctx.rs` | result **of of** the given | result **of** the given |
| `integrations/rust-project/src/buck.rs` | used **with with** buck | used **with** buck |

## Notes

- Vendored / `generated` files (e.g. the Bazel Remote Execution proto, `testcases/parse/rust.star`) and grammatically-valid repeats (e.g. "that that's the case", "and/or") were intentionally left untouched.

X-link: facebook/buck2#1350

Reviewed By: scottcao

Differential Revision: D110087294

fbshipit-source-id: beee4c1d75d8cca00b9273448b1a8ed60339a5e2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants