Remove unused method

This commit is contained in:
Dirkjan Ochtman 2022-11-25 16:06:02 -08:00
parent aace036ea9
commit 3f8a6dfee3
1 changed files with 0 additions and 8 deletions

View File

@ -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 {