From 6b5119725165434443e66446078defe0234a2b46 Mon Sep 17 00:00:00 2001 From: Shengyu Zhang Date: Sun, 1 Jan 2023 16:48:48 +0800 Subject: [PATCH] types/alias: use io::{Result,Error} instead of Io{Result,Error}. seealso: https://github.com/rust-lang/rust-by-example/pull/537 --- src/types/alias.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/alias.md b/src/types/alias.md index 1d004587cf..a2e02ac1a6 100644 --- a/src/types/alias.md +++ b/src/types/alias.md @@ -24,8 +24,8 @@ fn main() { } ``` -The main use of aliases is to reduce boilerplate; for example the `IoResult` type -is an alias for the `Result` type. +The main use of aliases is to reduce boilerplate; for example the `io::Result` type +is an alias for the `Result` type. ### See also: