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

examples: various cleanups #1515

Merged
merged 7 commits into from
Oct 16, 2023
Merged

examples: various cleanups #1515

merged 7 commits into from
Oct 16, 2023

Conversation

bilelmoussaoui
Copy link
Member

No description provided.

@bilelmoussaoui bilelmoussaoui force-pushed the bilelmoussaoui/examples branch 3 times, most recently from 25393a0 to 2c85fc2 Compare October 16, 2023 16:04
Makes things consistent for the reader:
- Use prelude from gtk as it re-exports glib's prelude
- Stop using imports for stuff that is used only once. It doesn't make the code more readable
- Sort & organize imports, this is done using a rustfmt nightly feature & took that opportunity
to also use it for cleaning up the comments
Otherwise clippy complains and we have to have a separate constructor for nothing useful
The imports grouping & docs bits are super handy.
@bilelmoussaoui bilelmoussaoui force-pushed the bilelmoussaoui/examples branch from 69a4f86 to 2308cec Compare October 16, 2023 18:18
@bilelmoussaoui bilelmoussaoui merged commit cb70f6b into master Oct 16, 2023
39 checks passed
@bilelmoussaoui bilelmoussaoui deleted the bilelmoussaoui/examples branch October 17, 2023 08:10
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