Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion #2897

Closed
wants to merge 1 commit into from
Closed

Conversation

tkporter
Copy link
Collaborator

@tkporter tkporter commented Nov 7, 2023

Description

Drive-by changes

Related issues

Backward compatibility

Testing

@tkporter tkporter requested a review from daniel-savu as a code owner November 7, 2023 19:08
@@ -138,26 +138,21 @@ impl MetadataBuilder for AggregationIsmMetadataBuilder {
// Partitions things into
// 1. ok_sub_modules: ISMs with metadata with valid metadata
// 2. err_sub_modules: ISMs with invalid metadata
let no_err_sub_modules_and_metas: Vec<_> = sub_modules_and_metas
.into_iter()
.filter_map(|sub_module_and_meta| sub_module_and_meta.ok())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using filter_map here

@aroralanuk
Copy link
Contributor

used by #2861

@aroralanuk aroralanuk closed this Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants