Skip to content

Commit 7c9fe91

Browse files
committed
Make "bounded wrapper" lifetime a bit more consistent
Makes the structure declaration in line with everything else. Not sure if that changes anything in term of behavior.
1 parent 278940c commit 7c9fe91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

raylib/src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ macro_rules! make_bound_thin_wrapper {
146146
($name:ident, $t:ty, $dropfunc:expr, $binding:ty) => {
147147
#[repr(transparent)]
148148
#[derive(Debug)]
149-
pub struct $name<'a, 'bind: 'a>(pub(crate) $t, pub std::marker::PhantomData<&'a Self>, pub std::marker::PhantomData<&'bind $binding>);
149+
pub struct $name<'bind: 'a, 'a>(pub(crate) $t, pub std::marker::PhantomData<&'a Self>, pub std::marker::PhantomData<&'bind $binding>);
150150

151151
crate::impl_wrapper_bounded!($name, $t, $dropfunc, 0, 'a);
152152
};

0 commit comments

Comments
 (0)