Remove pointless trait implementation exports in bevy_reflect (#10771)
Trait implementations do not need to be reexported to be used.
```
warning: unused import: `self::std::*`
--> crates/bevy_reflect/src/lib.rs:502:13
|
502 | pub use self::std::*;
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `self::uuid::*`
--> crates/bevy_reflect/src/lib.rs:503:13
|
503 | pub use self::uuid::*;
| ^^^^^^^^^^^^^
warning: unused import: `impls::*`
--> crates/bevy_reflect/src/lib.rs:525:9
|
525 | pub use impls::*;
| ^^^^^^^^
```
This commit is contained in:
parent
3ec1b5c323
commit
506bdc5e68
@ -492,15 +492,6 @@ mod impls {
|
||||
|
||||
mod std;
|
||||
mod uuid;
|
||||
|
||||
#[cfg(feature = "glam")]
|
||||
pub use self::glam::*;
|
||||
#[cfg(feature = "bevy_math")]
|
||||
pub use self::rect::*;
|
||||
#[cfg(feature = "smallvec")]
|
||||
pub use self::smallvec::*;
|
||||
pub use self::std::*;
|
||||
pub use self::uuid::*;
|
||||
}
|
||||
|
||||
mod enums;
|
||||
@ -522,7 +513,6 @@ pub use array::*;
|
||||
pub use enums::*;
|
||||
pub use fields::*;
|
||||
pub use from_reflect::*;
|
||||
pub use impls::*;
|
||||
pub use list::*;
|
||||
pub use map::*;
|
||||
pub use path::*;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user