Make Remove Command's fields public (#2449)

In #2034, the `Remove` Command did not get the same treatment as the rest of the commands. There's no discussion saying it shouldn't have public fields, so I am assuming it was an oversight. This fixes that oversight.
This commit is contained in:
Ryan Scheel 2021-07-12 19:48:48 +00:00
parent 17bd3f954f
commit b48ee02feb

View file

@ -359,8 +359,8 @@ where
#[derive(Debug)] #[derive(Debug)]
pub struct Remove<T> { pub struct Remove<T> {
entity: Entity, pub entity: Entity,
phantom: PhantomData<T>, pub phantom: PhantomData<T>,
} }
impl<T> Command for Remove<T> impl<T> Command for Remove<T>