fix comment

This commit is contained in:
Niko Matsakis 2018-08-19 07:42:22 -07:00
parent a63ece43b3
commit 9394a99f8e

View File

@ -32,11 +32,12 @@ crate struct LocalUseMap<'me> {
/// Head of a linked list of **uses** of each variable -- use in
/// this context means that the existing value of the variable is
/// read or modified. e.g., `y` is used in `x = y` but not `x`.
/// Note that `DROP(x)` terminators are excluded from this list.
first_use_at: IndexVec<LocalWithRegion, Option<AppearanceIndex>>,
/// Head of a linked list of **uses** of each variable -- use in
/// this context means that the existing value of the variable is
/// read or modified. e.g., `y` is used in `x = y` but not `x`.
/// Head of a linked list of **drops** of each variable -- these
/// are a special category of uses corresponding to the drop that
/// we add for each local variable.
first_drop_at: IndexVec<LocalWithRegion, Option<AppearanceIndex>>,
appearances: IndexVec<AppearanceIndex, Appearance>,