Skip to content

Commit 8888f94

Browse files
authored
Merge pull request #1660 from SilverRainZ/patch-1
types/alias: use io::{Result,Error} instead of Io{Result,Error}
2 parents 330e7a8 + 6b51197 commit 8888f94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types/alias.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ fn main() {
2424
}
2525
```
2626

27-
The main use of aliases is to reduce boilerplate; for example the `IoResult<T>` type
28-
is an alias for the `Result<T, IoError>` type.
27+
The main use of aliases is to reduce boilerplate; for example the `io::Result<T>` type
28+
is an alias for the `Result<T, io::Error>` type.
2929

3030
### See also:
3131

0 commit comments

Comments
 (0)