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.
This commit is contained in:
parent
fb00c85bd6
commit
25ca6c5937
|
|
@ -109,7 +109,7 @@ and `Encodable`.
|
||||||
only allow decoding by [`rustc_metadata::rmeta::encoder::EncodeContext`] and
|
only allow decoding by [`rustc_metadata::rmeta::encoder::EncodeContext`] and
|
||||||
[`rustc_metadata::rmeta::decoder::DecodeContext`]. These are used for types
|
[`rustc_metadata::rmeta::decoder::DecodeContext`]. These are used for types
|
||||||
that contain `rustc_metadata::rmeta::Lazy`.
|
that contain `rustc_metadata::rmeta::Lazy`.
|
||||||
- `TyEncodable` and `TyDecoder` generate implementation that apply to any
|
- `TyEncodable` and `TyDecodable` generate implementation that apply to any
|
||||||
`TyEncoder` or `TyDecoder`. These should be used for types that are only
|
`TyEncoder` or `TyDecoder`. These should be used for types that are only
|
||||||
serialized in crate metadata and/or the incremental cache, which is most
|
serialized in crate metadata and/or the incremental cache, which is most
|
||||||
serializable types in `rustc_middle`.
|
serializable types in `rustc_middle`.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue