Skip to content

Commit 70863da

Browse files
authored
fix type name (rust-lang#1792)
1 parent b472a7f commit 70863da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/serialization.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ and `Encodable`.
108108
- `MetadataEncodable` and `MetadataDecodable` generate implementations that
109109
only allow decoding by [`rustc_metadata::rmeta::encoder::EncodeContext`] and
110110
[`rustc_metadata::rmeta::decoder::DecodeContext`]. These are used for types
111-
that contain `rustc_metadata::rmeta::Lazy`.
111+
that contain `rustc_metadata::rmeta::Lazy*`.
112112
- `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
@@ -130,7 +130,7 @@ some deserialization needs to be deferred from the initial loading of metadata.
130130
The [`LazyValue<T>`] type wraps the (relative) offset in the crate metadata where a
131131
`T` has been serialized. There are also some variants, [`LazyArray<T>`] and [`LazyTable<I, T>`].
132132

133-
The `Lazy<[T]>` and `LazyTable<I, T>` types provide some functionality over
133+
The `LazyArray<[T]>` and `LazyTable<I, T>` types provide some functionality over
134134
`Lazy<Vec<T>>` and `Lazy<HashMap<I, T>>`:
135135

136136
- It's possible to encode a `LazyArray<T>` directly from an iterator, without

0 commit comments

Comments
 (0)