From e1bcaab5916cd77fa3d2fd13665c0442f2c5a13c Mon Sep 17 00:00:00 2001 From: varkor Date: Thu, 14 Mar 2019 13:17:20 +0000 Subject: [PATCH] Fix mask -> tag terminology --- src/doc/rustc-dev-guide/src/kinds.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/rustc-dev-guide/src/kinds.md b/src/doc/rustc-dev-guide/src/kinds.md index d5e218c31942..ac6a2d35b57d 100644 --- a/src/doc/rustc-dev-guide/src/kinds.md +++ b/src/doc/rustc-dev-guide/src/kinds.md @@ -21,7 +21,7 @@ constructing such substitution slices. ## `Kind` The actual `Kind` struct is optimised for space, storing the type, lifetime or -const as an interned pointer containing a mask identifying its kind (in the +const as an interned pointer containing a tag identifying its kind (in the lowest 2 bits). Unless you are working with the `Subst` implementation specifically, you should generally not have to deal with `Kind` and instead make use of the safe [`UnpackedKind`](#unpackedkind) abstraction.