drop obsolete comment

This commit is contained in:
Aleksey Kladov 2019-01-23 20:45:32 +03:00
parent 5ced113e1c
commit bea75e0943

View file

@ -251,7 +251,6 @@ impl DefKind {
SyntaxKind::MODULE => PerNs::types(DefKind::Module), SyntaxKind::MODULE => PerNs::types(DefKind::Module),
SyntaxKind::STRUCT_DEF => PerNs::both(DefKind::Struct, DefKind::StructCtor), SyntaxKind::STRUCT_DEF => PerNs::both(DefKind::Struct, DefKind::StructCtor),
SyntaxKind::ENUM_DEF => PerNs::types(DefKind::Enum), SyntaxKind::ENUM_DEF => PerNs::types(DefKind::Enum),
// These define items, but don't have their own DefKinds yet:
SyntaxKind::TRAIT_DEF => PerNs::types(DefKind::Trait), SyntaxKind::TRAIT_DEF => PerNs::types(DefKind::Trait),
SyntaxKind::TYPE_DEF => PerNs::types(DefKind::Type), SyntaxKind::TYPE_DEF => PerNs::types(DefKind::Type),
SyntaxKind::CONST_DEF => PerNs::values(DefKind::Const), SyntaxKind::CONST_DEF => PerNs::values(DefKind::Const),