Update compiler/can/src/scope.rs

This commit is contained in:
Ayaz 2022-04-28 20:14:39 -04:00 committed by GitHub
parent 42d74199e5
commit 3b64fe59b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -349,7 +349,7 @@ impl Scope {
{
// store enough information to roll back to the original outer scope
//
// - abilities_store: abilitie definitions not allowed in inner scopes
// - abilities_store: ability definitions not allowed in inner scopes
// - ident_ids: identifiers in inner scopes should still be available in the ident_ids
// - idents: we have to clone for now
// - aliases: stored in a VecMap, we just discard anything added in an inner scope