Fix: typos (#84)

Co-authored-by: Felix Pherry <182051.FELIX@klgroup.local>
This commit is contained in:
Felix Pherry 2024-06-05 16:59:04 +07:00 committed by GitHub
parent e99a15390e
commit 056611ac1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ pass it to the `panic!` macro.\
This is a (rudimentary) example of **error reporting**: transforming an error type into a representation that can be This is a (rudimentary) example of **error reporting**: transforming an error type into a representation that can be
shown to a user, a service operator, or a developer. shown to a user, a service operator, or a developer.
It's not practical for each Rust developer to come up with their own error reporting strategy: it'd a waste of time It's not practical for each Rust developer to come up with their own error reporting strategy: it'd be a waste of time
and it wouldn't compose well across projects. and it wouldn't compose well across projects.
That's why Rust provides the `std::error::Error` trait. That's why Rust provides the `std::error::Error` trait.