Skip to content

Commit

Permalink
change example names from 'enum' to 'enums'
Browse files Browse the repository at this point in the history
since 'enum' is reserved by rust and you can't name a module 'enum.rs'
  • Loading branch information
SIGSTACKFAULT committed Nov 20, 2023
1 parent 83619ac commit 8368502
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guide/src/reference/types/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
## Example Rust Usage

```rust
{{#include ../../../../examples/guide-supported-types-examples/src/enum.rs}}
{{#include ../../../../examples/guide-supported-types-examples/src/enums.rs}}
```

## Example JavaScript Usage

```js
{{#include ../../../../examples/guide-supported-types-examples/enum.js}}
{{#include ../../../../examples/guide-supported-types-examples/enums.js}}
```

## TypeScript
Expand Down

0 comments on commit 8368502

Please sign in to comment.