Skip to content

Commit

Permalink
Merge pull request #1863 from vlad20012/patch-1
Browse files Browse the repository at this point in the history
Fix code snippet
  • Loading branch information
carols10cents committed Mar 26, 2019
2 parents 6a115b4 + 6aa13a6 commit 322aa86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch19-04-advanced-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<T> = Result<T, std::io::Error>;
type Result<T> = std::result::Result<T, std::io::Error>;
```

Because this declaration is in the `std::io` module, we can use the fully
Expand Down

0 comments on commit 322aa86

Please sign in to comment.