Add a comment to code that confused me.

This commit is contained in:
Ms2ger 2015-02-28 13:31:27 +01:00
parent 57e0248d34
commit 2a37f7f07c

View File

@ -656,6 +656,7 @@ impl LintPass for UnusedAttributes {
}
fn check_attribute(&mut self, cx: &Context, attr: &ast::Attribute) {
// Note that check_name() marks the attribute as used if it matches.
for &(ref name, ty) in KNOWN_ATTRIBUTES {
match ty {
AttributeType::Whitelisted