Skip to content

Fix typos in doc comments across codebase#1976

Open
J8118 wants to merge 3 commits intofacebook:static_hfrom
J8118:fix/typos-in-comments
Open

Fix typos in doc comments across codebase#1976
J8118 wants to merge 3 commits intofacebook:static_hfrom
J8118:fix/typos-in-comments

Conversation

@J8118
Copy link
Copy Markdown

@J8118 J8118 commented Apr 9, 2026

Fix typos and duplicate words in comments across codebase

Summary

  • Fix duplicate words across 47 files: "the the" (19x), "to to" (5x), "is is" (2x), "of of" (1x), "it it" -> "if it" (1x)
  • Fix misspellings in comments: "teh", "paramter", "accomodate", "occured", "overriden", "propery", "destoryed", "identifer", "occurence", "constuctor", "begining", "writting", "paramters", "seperates", "suviving", "povided"
  • Fix misspelled local variable/function names in testlib.cpp: "countOccurences" -> "countOccurrences", "occurences" -> "occurrences", "lastOccurence" -> "lastOccurrence" (all file-local, no API impact)

All changes are to comments, documentation, and file-local variable names. No functional code, public APIs, or logic altered.

J8118 added 2 commits April 9, 2026 10:21
Fix common misspellings in comments: "teh" -> "the", "paramter" ->
"parameter", "accomodate" -> "accommodate", "occured" -> "occurred",
"overriden" -> "overridden", "propery" -> "property", "destoryed" ->
"destroyed".
Fix duplicate words: "the the" (19 instances), "to to" (4 instances),
"is is" (2 instances), "of of" (1 instance), "it it" -> "if it" (1 instance).

Fix misspellings: "identifer" -> "identifier", "occurence" -> "occurrence",
"constuctor" -> "constructor", "begining" -> "beginning",
"writting" -> "writing", "paramters" -> "parameters",
"seperates" -> "separates", "suviving" -> "surviving",
"povided" -> "provided".

Fix misspelled variable names: "countOccurences" -> "countOccurrences",
"occurences" -> "occurrences", "lastOccurence" -> "lastOccurrence"
in testlib.cpp (all file-local).
@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant