Closed bilelmoussaoui closed 1 year ago
When applied to gtk4-rs 581 insertions(+), 1574 deletions(-)
I am also looking at grouping those kind of imports, that would simplify things a bit further
use crate::Accessible;
use crate::AccessibleRole;
use crate::Align;
use crate::Buildable;
use crate::ConstraintTarget;
use crate::Editable;
use crate::LayoutManager;
use crate::Overflow;
use crate::Widget;
I am also looking at grouping those kind of imports, that would simplify things a bit further
use crate::Accessible; use crate::AccessibleRole; use crate::Align; use crate::Buildable; use crate::ConstraintTarget; use crate::Editable; use crate::LayoutManager; use crate::Overflow; use crate::Widget;
You could post-process them to make them all crate::{....}
I am also looking at grouping those kind of imports, that would simplify things a bit further
use crate::Accessible; use crate::AccessibleRole; use crate::Align; use crate::Buildable; use crate::ConstraintTarget; use crate::Editable; use crate::LayoutManager; use crate::Overflow; use crate::Widget;
You could post-process them to make them all
crate::{....}
yes that is what i am planning to do, in a different PR though :)
Reduce the amount of generated code and drops a bit of unneeded complexity
Fixes #1401