From 782b98c1e3cca063594178f2dc39b55f83fb12aa Mon Sep 17 00:00:00 2001 From: ComplexSpaces Date: Thu, 26 Dec 2024 13:21:11 -0600 Subject: [PATCH] Cleanup unneeded lifetimes --- src/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.rs b/src/common.rs index 2e10fea..291c528 100644 --- a/src/common.rs +++ b/src/common.rs @@ -132,7 +132,7 @@ pub struct ImageData<'a> { } #[cfg(feature = "image-data")] -impl<'a> ImageData<'a> { +impl ImageData<'_> { /// Returns a the bytes field in a way that it's guaranteed to be owned. /// It moves the bytes if they are already owned and clones them if they are borrowed. pub fn into_owned_bytes(self) -> Cow<'static, [u8]> {