Skip to content

Commit

Permalink
Fix elided lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Sep 2, 2024
1 parent cf88141 commit e21f0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ impl<'gctx> Workspace<'gctx> {
}

/// Returns an iterator over default packages in this workspace
pub fn default_members<'a>(&'a self) -> impl Iterator<Item = &Package> {
pub fn default_members<'a>(&'a self) -> impl Iterator<Item = &'a Package> {
let packages = &self.packages;
self.default_members
.iter()
Expand Down

0 comments on commit e21f0d0

Please sign in to comment.