Skip to content

Commit 1c33f7d

Browse files
committed
Apply suggestions from code review
1 parent c397c2f commit 1c33f7d

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

crates/bevy_ecs/src/schedule/set.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ enum SystemSetKind {
8181

8282
/// Type-elided struct whose methods return the same values as its original [`SystemSet`].
8383
#[derive(Clone, Copy, Eq, PartialEq, Hash)]
84-
8584
pub struct SystemSetUntyped {
8685
id: SystemSetId,
8786
kind: SystemSetKind,

crates/bevy_ecs/src/world/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1849,7 +1849,7 @@ impl World {
18491849
self.try_schedule_scope(label, |world, sched| sched.run(world))
18501850
}
18511851

1852-
/// Runs the [`Schedule`] associated with the `id` a single time.
1852+
/// Runs the [`Schedule`] associated with the `label` a single time.
18531853
///
18541854
/// The [`Schedule`] is fetched from the [`Schedules`] resource of the world by its label,
18551855
/// and system state is cached.

crates/bevy_macro_utils/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ pub fn ensure_no_collision(value: Ident, haystack: TokenStream) -> Ident {
170170
/// - `input`: The [`syn::DeriveInput`] for struct that is deriving the label trait
171171
/// - `trait_path`: The path [`syn::Path`] to the label trait
172172
pub fn derive_label(input: syn::DeriveInput, trait_path: &syn::Path) -> TokenStream {
173-
//let bevy_utils_path = BevyManifest::default().get_path("bevy_utils");
174-
175173
let ident = input.ident;
176174
let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl();
177175
let mut where_clause = where_clause.cloned().unwrap_or_else(|| syn::WhereClause {

0 commit comments

Comments
 (0)