You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c8e353a
Browse filesBrowse the repository at this point in the historyBrowse files
Replace the imports_by_module_to_rust helper function with a more idiomatic
Rust approach by implementing FromPyObject trait for an ImportsByModule
newtype wrapper. This allows using .extract() directly, making the code
more ergonomic and following Rust best practices similar to DirectImport.
The new ImportsByModule wrapper encapsulates HashMap<Module, HashSet<DirectImport>>
and provides automatic conversion from Python dict objects.
Addresses PR comment: #259 (comment)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments