Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
irh committed Apr 5, 2024
1 parent ef69f92 commit 96bbbb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ return_value.rs

The runtime's prelude is a `KMap`, which is Koto's standard hashmap type.

can be added via `KMap::insert`, taking any value that implements
`Into<KValue>`. Basic types like strings and numbers are automatically converted
to corresponding Koto types.
Values can be added to the prelude via `KMap::insert`, taking any Rust value
that implements `Into<KValue>`. Basic types like strings and numbers are
automatically converted to corresponding Koto types.

```rust_include
prelude_value.rs
Expand Down

0 comments on commit 96bbbb1

Please sign in to comment.