Skip to content

Commit

Permalink
docs: fix simple typo, somewhhere -> somewhere
Browse files Browse the repository at this point in the history
There is a small typo in mjs.c, mjs.h, mjs/src/mjs_core_public.h.

Should read `somewhere` rather than `somewhhere`.
  • Loading branch information
timgates42 authored and rojer committed May 29, 2021
1 parent 4e61395 commit ca028c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2851,7 +2851,7 @@ mjs_val_t mjs_get_global(struct mjs *mjs);
* be owned, and we could forget to do that.
*
* Also, if the user code has some C function called from MJS, and in this C
* function some MJS value (`mjs_val_t`) needs to be stored somewhhere and to
* function some MJS value (`mjs_val_t`) needs to be stored somewhere and to
* stay alive after the C function has returned, it also needs to be properly
* owned.
*/
Expand Down
4 changes: 2 additions & 2 deletions mjs.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ mjs_val_t mjs_get_global(struct mjs *mjs);
* be owned, and we could forget to do that.
*
* Also, if the user code has some C function called from MJS, and in this C
* function some MJS value (`mjs_val_t`) needs to be stored somewhhere and to
* function some MJS value (`mjs_val_t`) needs to be stored somewhere and to
* stay alive after the C function has returned, it also needs to be properly
* owned.
*/
Expand Down Expand Up @@ -512,7 +512,7 @@ mjs_val_t mjs_get_global(struct mjs *mjs);
* be owned, and we could forget to do that.
*
* Also, if the user code has some C function called from MJS, and in this C
* function some MJS value (`mjs_val_t`) needs to be stored somewhhere and to
* function some MJS value (`mjs_val_t`) needs to be stored somewhere and to
* stay alive after the C function has returned, it also needs to be properly
* owned.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/mjs_core_public.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ mjs_val_t mjs_get_global(struct mjs *mjs);
* be owned, and we could forget to do that.
*
* Also, if the user code has some C function called from MJS, and in this C
* function some MJS value (`mjs_val_t`) needs to be stored somewhhere and to
* function some MJS value (`mjs_val_t`) needs to be stored somewhere and to
* stay alive after the C function has returned, it also needs to be properly
* owned.
*/
Expand Down

0 comments on commit ca028c3

Please sign in to comment.