mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2025-01-13 08:01:18 +01:00
Typo.
This commit is contained in:
parent
b4f5a45424
commit
3f9fc21618
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ Don't worry too much about either of these concepts for now. We'll cover them in
|
|||
|
||||
## Implementing `source` using `thiserror`
|
||||
|
||||
`thiserror` provides two ways to automatically implement `source` for your error types:
|
||||
`thiserror` provides three ways to automatically implement `source` for your error types:
|
||||
|
||||
- A field named `source` will automatically be used as the source of the error.
|
||||
```rust
|
||||
|
|
Loading…
Reference in a new issue