diff --git a/src/ch19-04-advanced-types.md b/src/ch19-04-advanced-types.md index bb132a1436..6e3077bd18 100644 --- a/src/ch19-04-advanced-types.md +++ b/src/ch19-04-advanced-types.md @@ -143,7 +143,7 @@ The `Result<..., Error>` is repeated a lot. As such, `std::io` has this type of alias declaration: ```rust,ignore -type Result = Result; +type Result = std::result::Result; ``` Because this declaration is in the `std::io` module, we can use the fully