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

Simplify dependency tracking #3460

Merged
merged 3 commits into from
Jan 22, 2025
Merged

Simplify dependency tracking #3460

merged 3 commits into from
Jan 22, 2025

Conversation

kennykerr
Copy link
Collaborator

Collecting and combing dependencies continues to be an important but challenging task. This update introduces the Dependencies trait that simplifies this by allowing dependencies to be retrieved with a single simple method call.

@@ -83,7 +81,7 @@ impl Class {
}
);

let factories = required_interfaces.iter().filter_map(|interface| match interface.kind {
let factories = required_interfaces. iter().filter_map(|interface| match interface.kind {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I also noticed that cargo fmt seems to give up on some larger closures. Not sure what's going on there...

@kennykerr kennykerr merged commit 493d5da into master Jan 22, 2025
78 checks passed
@kennykerr kennykerr deleted the dependencies branch January 22, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant