fix grammar mistake

removed unnecessary `even` word
This commit is contained in:
Urmalveer Singh
2023-10-15 19:52:34 +05:30
committed by GitHub
parent 76f787a1fb
commit ba5f4cb5a6

View File

@ -153,7 +153,7 @@ fn main() {
### Type alias ### Type alias
Using `std::result::Result<T, ParseIntError>` everywhere is verbose and tedious, we can use alias for this purpose. Using `std::result::Result<T, ParseIntError>` everywhere is verbose and tedious, we can use alias for this purpose.
At a module level, creating aliases can be particularly helpful. Errors found in a specific module often has the same `Err` type, so a single alias can succinctly defined all associated `Results`. This is so useful even the `std` library even supplies one: [`io::Result`](https://doc.rust-lang.org/std/io/type.Result.html). At a module level, creating aliases can be particularly helpful. Errors found in a specific module often has the same `Err` type, so a single alias can succinctly defined all associated `Results`. This is so useful even the `std` library supplies one: [`io::Result`](https://doc.rust-lang.org/std/io/type.Result.html).
6. 🌟 6. 🌟
```rust,editable ```rust,editable