Skip to content

doc: fix broken using link in ffi.md - #65632

Open
soulee-dev wants to merge 1 commit into
nodejs:mainfrom
soulee-dev:doc-fix-ffi-using-link
Open

doc: fix broken using link in ffi.md#65632
soulee-dev wants to merge 1 commit into
nodejs:mainfrom
soulee-dev:doc-fix-ffi-using-link

Conversation

@soulee-dev

Copy link
Copy Markdown
Contributor

The [using] link in ffi.md points at
proposal-explicit-resource-management/#sec-using-declarations, but that
fragment does not exist, so the link silently resolves to the top of the page.

Point it at the MDN page for using, which fs.md already uses for the same
reference.

The `#sec-using-declarations` fragment does not exist in the explicit
resource management proposal, so the link silently resolves to the top
of the page. The proposal defines `using` under
`#sec-let-and-const-declarations`, and the only `using`-related section
ids are static semantics entries.

Point the reference at the MDN page for `using` instead, matching the
`[`using`]` definition already used in fs.md.

Signed-off-by: Soul Lee <alus20x@gmail.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/ffi

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to Node.js documentation. ffi Issues and PRs related to experimental Foreign Function Interface support. labels Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to Node.js documentation. ffi Issues and PRs related to experimental Foreign Function Interface support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants