Merge pull request #1863 from vlad20012/patch-1

Fix code snippet
This commit is contained in:
Carol (Nichols || Goulding)
2019-03-26 16:53:13 -04:00
committed by GitHub

View File

@@ -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