Skip to content

Commit

Permalink
Make new_with_bounds private
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Papale <nicopap@users.noreply.github.com>
  • Loading branch information
MrGVSV and nicopap committed Aug 2, 2023
1 parent 37fda9c commit 2df1abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_reflect/bevy_reflect_derive/src/utility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<proc_macro2::TokenStream>,
ignored_bounds: impl Fn(&TypeParam) -> Option<proc_macro2::TokenStream>,
Expand Down

0 comments on commit 2df1abd

Please sign in to comment.