bevyengine / bevyengine/bevy

Don't use `pub use module::*` re-export style

Open
#17,268 13 comments 0 reactions 0 assignees View on GitHub
A-Cross-Cutting C-Code-Quality C-Docs D-Modest S-Ready-For-Implementation X-Contentious
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

The "pub use module::*`" style in bevy_ui is pretty terrible for documentation: both because "pile of stuff" and because it breaks module docs.

I've broken from convention here: I would like to change the other modules in this crate in another PR.

_Originally posted by @alice-i-cecile in https://github.com/bevyengine/bevy/pull/17267#discussion_r1909422030_


There may be other instances of this pattern that I would like to clean up.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.