diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-10-07 19:28:34 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-10-07 19:28:34 +0200 |
| commit | 13230db68c3cb2842f23f95fc1b47fd989e6277d (patch) | |
| tree | b0bf94a8e3f935a7e9076237783846dee14e3e81 /src/font.rs | |
| parent | d2e220245d9c17a0ac8c3474984924f65ed6b835 (diff) | |
Fix some clippy warnings ✔
Diffstat (limited to 'src/font.rs')
| -rw-r--r-- | src/font.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/font.rs b/src/font.rs index 539f3188..9901ff1c 100644 --- a/src/font.rs +++ b/src/font.rs @@ -23,7 +23,7 @@ pub struct OwnedFace { impl OwnedFace { /// Get a reference to the underlying face. - pub fn get<'a>(&'a self) -> &'a Face<'a> { + pub fn get(&self) -> &Face<'_> { // We can't implement Deref because that would leak the internal 'static // lifetime. &self.face |
