Skip to content

Fix duplicated-word and misspelling typos in comments and docs#704

Open
durvesh1992 wants to merge 1 commit into
facebook:mainfrom
durvesh1992:fix/comment-doc-typos
Open

Fix duplicated-word and misspelling typos in comments and docs#704
durvesh1992 wants to merge 1 commit into
facebook:mainfrom
durvesh1992:fix/comment-doc-typos

Conversation

@durvesh1992

Copy link
Copy Markdown

Summary

Fixes a batch of high-confidence typos in comments, documentation, and one flag-description string. These are inspection-only changes — no logic or behavior is modified, and no generated files are touched.

Found via a duplicated-word + common-misspelling sweep over non-generated .cpp/.h/.thrift/.py/.md/.java sources. Care was taken to avoid false positives such as legitimate C++/Thrift tokens (e.g. the THeader, the THrottle).

Changes

Duplicated words

Before After
the the structure / the the status / the the name / the the task / the the include / the the end / the the Rust / the the call site / the the optional the …
a a struct / a a pointer / a a job / a a folly::SerialExecutor a …
to to serialize / to to read / to to be sane / prior to to the to …
with with ordinal / with with each with …
of of idle of idle
on on (depend on) on
that that the seed that the seed
are are the ones are the ones
at at most at most
to to the pext to do the pext
according the the result according to the result
if is is not detached if it is not detached

Misspellings

Before After
intialization / intialized initialization / initialized
compatiblity / compatibile compatibility / compatible
yeild yield
returing returning

Notes

  • 37 files changed, 38 lines, all comments/docs/strings.
  • The same the the Rust and compatiblity strings also appear in generated gen-* / */out/ fixtures; those were intentionally not edited since they are regenerated from the (now-fixed) sources.
  • C++ was not built/tested for this change as it contains no compilable code changes.
Corrects high-confidence typos found across comments, documentation,
and a flag-description string. No logic or behavior changes.

- Duplicated words: "the the", "a a", "to to", "of of", "on on",
  "with with", "that that", "is is" (-> "it is"), "at at"
- Misspellings: intialization -> initialization,
  compatiblity/compatibile -> compatibility/compatible,
  yeild -> yield, returing -> returning

Generated files were intentionally left untouched.
@meta-cla meta-cla Bot added the CLA Signed label Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant