Rollup merge of #21427 - steveklabnik:generics_fix, r=alexcrichton

Multiple people have asked me if this is a reference to Hacker News, and
I _certainly_ don't want to give them that impression.
This commit is contained in:
Barosl LEE 2015-01-21 02:16:52 +09:00
commit 01ae97b45e

View file

@ -79,9 +79,9 @@ This type is generic over _two_ types: `T` and `E`. By the way, the capital lett
can be any letter you'd like. We could define `Result<T, E>` as:
```{rust}
enum Result<H, N> {
Ok(H),
Err(N),
enum Result<A, Z> {
Ok(A),
Err(Z),
}
```