File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,10 @@ and `Encodable`.
128128 not implement ` TyEncoder ` .
129129- [ ` MetadataEncodable ` ] generates implementations that
130130 only allow decoding by [ ` rustc_metadata::rmeta::encoder::EncodeContext ` ] .
131- - [ ` BlobDecodable ` ] and [ ` LazyDecodable ` ] generates implementations that decode
132- with the metadata blob decoders in [ ` rustc_metadata::rmeta ` ] ; use ` BlobDecodable `
133- when the type has no lazy metadata handles, and ` LazyDecodable ` when it does.
131+ - [ ` BlobDecodable ` ] and [ ` LazyDecodable ` ] serve as the decoding counterparts to
132+ ` MetadataEncodable ` . They generate implementations that decode with the
133+ metadata blob decoders in ` rustc_metadata::rmeta ` ; use ` BlobDecodable ` when
134+ the type has no lazy metadata handles, and ` LazyDecodable ` when it does.
134135- ` TyEncodable ` and ` TyDecodable ` generate implementation that apply to any
135136 ` TyEncoder ` or ` TyDecoder ` . These should be used for types that are only
136137 serialized in crate metadata and/or the incremental cache, which is most
You can’t perform that action at this time.
0 commit comments