We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1481157 commit 88e8817Copy full SHA for 88e8817
src/data.rs
@@ -151,7 +151,7 @@ impl Data {
151
pub(crate) fn subteams_of<'a>(
152
&'a self,
153
team_name: &'a str,
154
- ) -> impl Iterator<Item = &Team> + 'a {
+ ) -> impl Iterator<Item = &'a Team> + 'a {
155
self.team(team_name).into_iter().flat_map(move |team| {
156
self.teams()
157
.filter(move |maybe_subteam| team.is_parent_of(self, maybe_subteam))
0 commit comments