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.
2 parents 090cf72 + 9b4e1dd commit 4de2069Copy full SHA for 4de2069
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