Skip to content

Commit 4de2069

Browse files
authored
Merge pull request #2511 from ffengyu/errata
Mistake in section serialization in rustc
2 parents 090cf72 + 9b4e1dd commit 4de2069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl<D: Decoder> Decodable<D> for MyStruct {
7575

7676
rustc has a lot of [arena allocated types].
7777
Deserializing these types isn't possible without access to the arena that they need to be allocated on.
78-
The [`TyDecoder`] and [`TyEncoder`] traits are supertraits of [`Decoder`] and [`Encoder`] that allow access to a [`TyCtxt`].
78+
The [`TyDecoder`] and [`TyEncoder`] traits are subtraits of [`Decoder`] and [`Encoder`] that allow access to a [`TyCtxt`].
7979

8080
Types which contain `arena` allocated types can then bound the type parameter of their
8181
[`Encodable`] and [`Decodable`] implementations with these traits.

0 commit comments

Comments
 (0)