diff --git a/crates/bevy_reflect/bevy_reflect_derive/src/utility.rs b/crates/bevy_reflect/bevy_reflect_derive/src/utility.rs index 2a93573e67c38b..54f60f3298815e 100644 --- a/crates/bevy_reflect/bevy_reflect_derive/src/utility.rs +++ b/crates/bevy_reflect/bevy_reflect_derive/src/utility.rs @@ -121,7 +121,7 @@ impl WhereClauseOptions { /// /// Compared to [`WhereClauseOptions::new`], this version allows you to specify /// custom trait bounds for each field. - pub fn new_with_bounds( + fn new_with_bounds( meta: &ReflectMeta, active_bounds: impl Fn(&TypeParam) -> Option, ignored_bounds: impl Fn(&TypeParam) -> Option,