Skip to content

Commit

Permalink
Fix typo in embind.js (#21384)
Browse files Browse the repository at this point in the history
nonexistant ==> nonexistent

Fixes: #21372
  • Loading branch information
wojdyr authored Feb 21, 2024
1 parent dc4e54a commit 919afc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/embind/embind.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ var LibraryEmbind = {
$replacePublicSymbol__docs: '/** @param {number=} numArguments */',
$replacePublicSymbol: (name, value, numArguments) => {
if (!Module.hasOwnProperty(name)) {
throwInternalError('Replacing nonexistant public symbol');
throwInternalError('Replacing nonexistent public symbol');
}
// If there's an overload table for this symbol, replace the symbol in the overload table instead.
if (undefined !== Module[name].overloadTable && undefined !== numArguments) {
Expand Down

0 comments on commit 919afc5

Please sign in to comment.