Skip to content

Commit 6b51197

Browse files
authored
types/alias: use io::{Result,Error} instead of Io{Result,Error}.
seealso: #537
1 parent 06cf778 commit 6b51197

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)