Add doc-comment.
This commit is contained in:
@@ -318,6 +318,7 @@ impl DefKind {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Whether the corresponding item has generic parameters, ie. the `generics_of` query works.
|
||||||
pub fn has_generics(self) -> bool {
|
pub fn has_generics(self) -> bool {
|
||||||
match self {
|
match self {
|
||||||
DefKind::AnonConst
|
DefKind::AnonConst
|
||||||
|
|||||||
Reference in New Issue
Block a user