~taiite/protodump

0e4535f8797a6540098e6265fefc7bda9425612b — Hubert Hirtz 1 year, 5 months ago 4ffddcc
Fix clippy lint
1 files changed, 1 insertions(+), 1 deletions(-)

M src/types.rs
M src/types.rs => src/types.rs +1 -1
@@ 150,7 150,7 @@ impl<R> Definition<R> {
        })
    }

    pub fn children<'a>(&'a self) -> impl Iterator<Item = TypePtr<R>> + 'a {
    pub fn children(&self) -> impl Iterator<Item = TypePtr<R>> + '_ {
        let iter: Box<dyn Iterator<Item = InstancePtr<R>>> = match self {
            Self::Primitive(_) | Self::Enumeration { .. } => Box::new(std::iter::empty()),
            Self::Subroutine(subroutine) => Box::new(