Skip to content

Commit 9b4e1dd

Browse files
committed
fix typos
1 parent 090cf72 commit 9b4e1dd

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy