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

Import directly from correct crates rather than the re-exports #4505

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oscargus
Copy link
Contributor

Slightly related to #4504 and by noting that there are quite a lot of *-imports in egui. So I decided to get rid of the *-imports which then naturally opens the question: where should things be imported from? As an example, Pos2 is defined in emath, but re-exported from egui, epaint, egui::emath, egui::epaint, etc...

Not claiming to be 100% correct, but this should at least be a step in the right direction when it comes to imports. If one would like to go in that direction...

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.

None yet

1 participant