summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorİsmail Arılık <arilik.ismail@gmail.com>2023-07-27 16:31:54 +0300
committerTshepang Mbambo <tshepang@gmail.com>2023-07-28 05:20:21 +0200
commit29ce9556acf77bb41fa9d38b0997977adea9f785 (patch)
treefd8d5e02b004d533104677f042d109a349f0c986 /src/doc/rustc-dev-guide
parent51da0f85e6040d67a03ec50dc3bef2193816a32c (diff)
downloadrust-29ce9556acf77bb41fa9d38b0997977adea9f785.tar.gz
rust-29ce9556acf77bb41fa9d38b0997977adea9f785.zip
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.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/serialization.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/serialization.md b/src/doc/rustc-dev-guide/src/serialization.md
index d0bfc2f8529..78b065311c3 100644
--- a/src/doc/rustc-dev-guide/src/serialization.md
+++ b/src/doc/rustc-dev-guide/src/serialization.md
@@ -109,7 +109,7 @@ and `Encodable`.
   only allow decoding by [`rustc_metadata::rmeta::encoder::EncodeContext`] and
   [`rustc_metadata::rmeta::decoder::DecodeContext`]. These are used for types
   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
   serialized in crate metadata and/or the incremental cache, which is most
   serializable types in `rustc_middle`.