Skip to content

Commit c25551b

Browse files
committed
cargo fmt
1 parent a3083bf commit c25551b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/bevy_ecs/src/component.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,14 @@ use thiserror::Error;
153153
/// #[derive(Component)]
154154
/// #[require(C(init_c))]
155155
/// struct A;
156-
///
156+
///
157157
/// #[derive(Component, PartialEq, Eq, Debug)]
158158
/// #[require(C(|| C(20)))]
159159
/// struct B;
160160
///
161161
/// #[derive(Component, PartialEq, Eq, Debug)]
162162
/// struct C(usize);
163-
///
163+
///
164164
/// fn init_c() -> C {
165165
/// C(10)
166166
/// }
@@ -169,7 +169,7 @@ use thiserror::Error;
169169
/// // This will implicitly also insert C with the init_c() constructor
170170
/// let id = world.spawn(A).id();
171171
/// assert_eq!(&C(10), world.entity(id).get::<C>().unwrap());
172-
///
172+
///
173173
/// // This will implicitly also insert C with the `|| C(20)` constructor closure
174174
/// let id = world.spawn(B).id();
175175
/// assert_eq!(&C(20), world.entity(id).get::<C>().unwrap());

0 commit comments

Comments
 (0)