gtk-rs / gir

Tool to generate rust bindings and user API for glib-based libraries
https://gtk-rs.org/gir/book/
MIT License
225 stars 99 forks source link

Make auto builders/traits/functions `pub(crate)` #1505

Closed bilelmoussaoui closed 11 months ago

bilelmoussaoui commented 11 months ago

Currently clippy would complain about a pub mod in auto having the same name as the outer mod. We should just make these mods pub(crate) and ask the user to explicitly re-export them. This solves the clippy lint complaint without having to rename any files.