We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41c0c5b commit eda2d0dCopy full SHA for eda2d0d
src/doc/rustc-dev-guide/src/serialization.md
@@ -75,7 +75,7 @@ impl<D: Decoder> Decodable<D> for MyStruct {
75
76
rustc has a lot of [arena allocated types].
77
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`].
+The [`TyDecoder`] and [`TyEncoder`] traits are subtraits of [`Decoder`] and [`Encoder`] that allow access to a [`TyCtxt`].
79
80
Types which contain `arena` allocated types can then bound the type parameter of their
81
[`Encodable`] and [`Decodable`] implementations with these traits.
0 commit comments