Skip to content

Commit 79a4afc

Browse files
committed
Avoid duplicate kind
1 parent 7414047 commit 79a4afc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

crates/red_knot_python_semantic/src/types/signatures.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -617,11 +617,6 @@ impl<'db> Parameter<'db> {
617617
}
618618
}
619619

620-
/// Returns the kind of the parameter which will contain the default type if any.
621-
pub(crate) fn kind(&self) -> &ParameterKind<'db> {
622-
&self.kind
623-
}
624-
625620
/// Display name of the parameter, if it has one.
626621
pub(crate) fn display_name(&self) -> Option<ast::name::Name> {
627622
self.name().map(|name| match self.kind {

0 commit comments

Comments
 (0)