Remove unnecessary lifetime parameters
This commit is contained in:
parent
f7082cc962
commit
714089c683
|
@ -51,7 +51,7 @@ impl AccessToken {
|
|||
impl Deref for TokenPair {
|
||||
type Target = AccessToken;
|
||||
|
||||
fn deref<'a>(&'a self) -> &'a AccessToken {
|
||||
fn deref(&self) -> &AccessToken {
|
||||
&self.access
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue