Skip to content

Commit 1b32c3e

Browse files
committed
Use Marker instead of T for IntoFunction
This takes after similar concepts in bevy_ecs
1 parent ba72789 commit 1b32c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_reflect/src/func/into_function.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ use bevy_utils::all_tuples;
8484
/// [`IntoReturn`]: crate::func::IntoReturn
8585
/// [`Reflect`]: crate::Reflect
8686
/// [deriving `Reflect`]: derive@crate::Reflect
87-
pub trait IntoFunction<'env, T> {
87+
pub trait IntoFunction<'env, Marker> {
8888
/// Converts [`Self`] into a [`DynamicFunction`].
8989
fn into_function(self) -> DynamicFunction<'env>;
9090
}

0 commit comments

Comments
 (0)