Skip to content

Commit 7af7456

Browse files
committed
Fix formatting and lints
1 parent 503326f commit 7af7456

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/bevy_reflect/bevy_reflect_derive/src/impls/func/get_ownership.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub(crate) fn impl_get_ownership(
88
) -> proc_macro2::TokenStream {
99
let bevy_reflect = meta.bevy_reflect_path();
1010
let type_path = meta.type_path();
11-
11+
1212
let (impl_generics, ty_generics, where_clause) = type_path.generics().split_for_impl();
1313
let where_reflect_clause = where_clause_options.extend_where_clause(where_clause);
1414

crates/bevy_reflect/bevy_reflect_derive/src/impls/structs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ pub(crate) fn impl_struct(reflect_struct: &ReflectStruct) -> proc_macro2::TokenS
109109
#typed_impl
110110

111111
#type_path_impl
112-
112+
113113
#function_impls
114114

115115
impl #impl_generics #bevy_reflect_path::Struct for #struct_path #ty_generics #where_reflect_clause {

crates/bevy_reflect/src/func/function.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl<'env> Function<'env> {
115115
/// increment_function.call_once(args).unwrap();
116116
/// assert_eq!(count, 5);
117117
/// ```
118-
pub fn call_once<'a>(mut self, args: ArgList<'a>) -> FunctionResult<'a> {
118+
pub fn call_once(mut self, args: ArgList) -> FunctionResult {
119119
(self.func.deref_mut())(args, &self.info)
120120
}
121121
}

0 commit comments

Comments
 (0)