Skip to content

Commit d109777

Browse files
authored
docs: Update README (#9)
1 parent 422378c commit d109777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ ctrl-c = "Quit"
6666
Then in your terminal library of choice (we'll be using [crossterm](https://github.com/crossterm-rs/crossterm) here). You can use any deserializer (e.g. `toml`, `json`, etc.) to deserialize a key from the configuration above into the terminal library's event (e.g. `crossterm::event::KeyEvent`).
6767

6868
```rust
69-
let mapping: Config = toml::from_str(CONFIG).unwrap();
69+
let config: Config = toml::from_str(CONFIG).unwrap();
7070

7171
// Read input event
7272
match read()? {

0 commit comments

Comments
 (0)