Skip to content

docs: add missing apostrophe in "can\u0027t" (lib + example) - #7483

Open
haimingZZ wants to merge 1 commit into
expressjs:masterfrom
haimingZZ:docs/fix-cant-apostrophe
Open

haimingZZ wants to merge 1 commit into
expressjs:masterfrom
haimingZZ:docs/fix-cant-apostrophe

Conversation

@haimingZZ

Copy link
Copy Markdown

Fix two grammar typos reported by codespell --builtin=clear,rare,informal,usage,code,names:

  • lib/response.js (JSDoc example visible to API consumers): "Sorry! you cant see that." → "Sorry! you can\u0027t see that."
  • examples/mvc/controllers/user/index.js (MVC controller example): // cant find that user → // can\u0027t find that user

Both are minor but the JSDoc one ships with every generated doc page, so worth fixing.

Diff is 2 files / 2 lines — small, clean, and non-controversial.

Fix two grammar typos reported by codespell --builtin=clear,rare,informal,usage,code,names:

- lib/response.js JSDoc example: "Sorry! you cant see that." → "Sorry! you can't see that."
  (visible to API consumers via the @public JSDoc block)
- examples/mvc/controllers/user/index.js: "// cant find that user" → "// can't find that user"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant