Skip to content

Commit 886a256

Browse files
Fix warnings in bevy_reflect (#11556)
# Objective - Address junk leftover by TypeUuid removal ## Solution - Get rid of unused deps and imports --------- Co-authored-by: Alice Cecile <[email protected]>
1 parent 1e241fb commit 886a256

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

crates/bevy_reflect/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ glam = { version = "0.25", features = ["serde"], optional = true }
3636
smol_str = { version = "0.2.0", optional = true }
3737

3838
[dev-dependencies]
39-
glam = { version = "0.25", features = ["serde"] }
4039
ron = "0.8.0"
4140
rmp-serde = "1.1"
4241
bincode = "1.3"

crates/bevy_reflect/src/lib.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -535,15 +535,12 @@ pub mod __macro_exports {
535535
#[cfg(test)]
536536
#[allow(clippy::disallowed_types, clippy::approx_constant)]
537537
mod tests {
538+
use ::serde::{de::DeserializeSeed, Deserialize, Serialize};
538539
use bevy_utils::HashMap;
539-
#[rustfmt::skip] // This is used to avoid import conflicts with `super`
540-
use ::glam::{quat, vec3, Quat, Vec3};
541540
use ron::{
542541
ser::{to_string_pretty, PrettyConfig},
543542
Deserializer,
544543
};
545-
#[rustfmt::skip] // This is used to avoid import conflicts with `super::`
546-
use ::serde::{de::DeserializeSeed, Deserialize, Serialize};
547544
use std::{
548545
any::TypeId,
549546
borrow::Cow,
@@ -1996,6 +1993,7 @@ bevy_reflect::tests::Test {
19961993
#[cfg(feature = "glam")]
19971994
mod glam {
19981995
use super::*;
1996+
use ::glam::{quat, vec3, Quat, Vec3};
19991997

20001998
#[test]
20011999
fn quat_serialization() {

0 commit comments

Comments
 (0)