Skip to content

Commit e361b38

Browse files
committed
Small fix in TRPL 3.9
Multiple people have asked me if this is a reference to Hacker News, and I _certainly_ don't want to give them that impression.
1 parent ffd8cb7 commit e361b38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/trpl/generics.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ This type is generic over _two_ types: `T` and `E`. By the way, the capital lett
7979
can be any letter you'd like. We could define `Result<T, E>` as:
8080

8181
```{rust}
82-
enum Result<H, N> {
83-
Ok(H),
84-
Err(N),
82+
enum Result<A, Z> {
83+
Ok(A),
84+
Err(Z),
8585
}
8686
```
8787

0 commit comments

Comments
 (0)