Skip to content

Commit

Permalink
Update provider/adapters/src/fork/by_error.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Bastian <4706271+robertbastian@users.noreply.github.com>
  • Loading branch information
sffc and robertbastian authored Sep 19, 2024
1 parent ee8979f commit f8955d6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions provider/adapters/src/fork/by_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,6 @@ where
F: ForkByErrorPredicate + Sync,
{
fn supported_markers(&self) -> std::collections::HashSet<DataMarkerInfo> {
let mut markers = std::collections::HashSet::new();
for provider in self.providers.iter() {
markers.extend(provider.supported_markers());
}
markers
self.providers.iter().flat_map(|p| p.supported_markers()).collect()
}
}

0 comments on commit f8955d6

Please sign in to comment.