diff --git a/src/data.rs b/src/data.rs index 4c3fbe24f..97ef62ec9 100644 --- a/src/data.rs +++ b/src/data.rs @@ -151,7 +151,7 @@ impl Data { pub(crate) fn subteams_of<'a>( &'a self, team_name: &'a str, - ) -> impl Iterator + 'a { + ) -> impl Iterator + 'a { self.team(team_name).into_iter().flat_map(move |team| { self.teams() .filter(move |maybe_subteam| team.is_parent_of(self, maybe_subteam))