diff options
Diffstat (limited to 'src/token/repo/auth.rs')
| -rw-r--r-- | src/token/repo/auth.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/token/repo/auth.rs b/src/token/repo/auth.rs index 68a81c7..5976d4a 100644 --- a/src/token/repo/auth.rs +++ b/src/token/repo/auth.rs @@ -9,11 +9,11 @@ use crate::{ }; pub trait Provider { - fn auth(&mut self) -> Auth; + fn auth(&mut self) -> Auth<'_>; } impl Provider for Transaction<'_, Sqlite> { - fn auth(&mut self) -> Auth { + fn auth(&mut self) -> Auth<'_> { Auth(self) } } |
