Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sytten committed Nov 25, 2024
1 parent 2e3b9b5 commit 1cad3ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl ModuleDefExt<MyModuleOptions> for MyModule {

At runtime, this module results in:

- A global `global_user` variable
- A global variable named `global_user`
- An importable module `import { user } from "my-module"`

### Globals only
Expand Down Expand Up @@ -140,4 +140,4 @@ globals_only_module!(MyModule, |globals| {
});
```

Both result in a global variable named `hello` begin available at runtime.
At runtime, both result in a global variable named `hello`.

0 comments on commit 1cad3ba

Please sign in to comment.