Skip to content

Commit 88e8817

Browse files
ehussMark-Simulacrum
authored andcommitted
Fix elided-named-lifetimes
1 parent 1481157 commit 88e8817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ impl Data {
151151
pub(crate) fn subteams_of<'a>(
152152
&'a self,
153153
team_name: &'a str,
154-
) -> impl Iterator<Item = &Team> + 'a {
154+
) -> impl Iterator<Item = &'a Team> + 'a {
155155
self.team(team_name).into_iter().flat_map(move |team| {
156156
self.teams()
157157
.filter(move |maybe_subteam| team.is_parent_of(self, maybe_subteam))

0 commit comments

Comments
 (0)