Remove unused method
This commit is contained in:
parent
aace036ea9
commit
3f8a6dfee3
|
@ -135,14 +135,6 @@ impl<'a> Kind<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
pub const fn name(&self, field: Id<'a>) -> Id<'a> {
|
||||
match self {
|
||||
Kind::Scalar => field,
|
||||
Kind::Element(name) => *name,
|
||||
Kind::Vec(inner) => *inner,
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn matches(&self, id: Id<'_>, field: Id<'_>) -> bool {
|
||||
match self {
|
||||
|
|
Loading…
Reference in New Issue