Skip to content

Commit 25ca6c5

Browse files
ismailariliktshepang
authored andcommitted
fix(serialization.md): fix the name of a derive macro
It should be like this since in the next sentence, it is specified that this should generate an implementation.
1 parent fb00c85 commit 25ca6c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialization.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ and `Encodable`.
109109
only allow decoding by [`rustc_metadata::rmeta::encoder::EncodeContext`] and
110110
[`rustc_metadata::rmeta::decoder::DecodeContext`]. These are used for types
111111
that contain `rustc_metadata::rmeta::Lazy`.
112-
- `TyEncodable` and `TyDecoder` generate implementation that apply to any
112+
- `TyEncodable` and `TyDecodable` generate implementation that apply to any
113113
`TyEncoder` or `TyDecoder`. These should be used for types that are only
114114
serialized in crate metadata and/or the incremental cache, which is most
115115
serializable types in `rustc_middle`.

0 commit comments

Comments
 (0)