Skip to content

Commit

Permalink
fix: Remove lifetimes in AsRef and Borrow impls for adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
hecsalazarf committed Jan 16, 2021
1 parent c4ea69e commit cf74a80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adapter/mod.rs
Expand Up @@ -1001,14 +1001,14 @@ macro_rules! impl_adapter_from {

impl<$a> AsRef<Uuid> for $T<$a> {
#[inline]
fn as_ref(&self) -> &$a Uuid {
fn as_ref(&self) -> &Uuid {
self.0
}
}

impl<$a> Borrow<Uuid> for $T<$a> {
#[inline]
fn borrow(&self) -> &$a Uuid {
fn borrow(&self) -> &Uuid {
self.0
}
}
Expand Down

0 comments on commit cf74a80

Please sign in to comment.