Skip to content

Commit

Permalink
Fixed guard_AutoSafe_alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamschi committed Feb 14, 2022
1 parent 4bc3983 commit 1811b28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/guard/auto_safety.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ macro_rules! guard_AutoSafe_alias {
///
/// Iff this function was called on this instance before.
#[track_caller]
fn deanonymize(this: &mut Self) -> Self::BoundOrActual;
fn deanonymize(this: &mut Self) -> <Self as $Name>::BoundOrActual;
}
impl<T> $Name for T
where
T: $crate::guard::auto_safety::AutoSafe
{
type BoundOrActual = <T as $crate::guard::auto_safety::AutoSafe>>::BoundOrActual;
type BoundOrActual = <T as $crate::guard::auto_safety::AutoSafe>::BoundOrActual;

#[track_caller]
fn deanonymize(this: &mut Self) -> <Self as $Name>::BoundOrActual {
Expand Down

0 comments on commit 1811b28

Please sign in to comment.