From 2cf1ec385f425d85a2dc07d037bf7bc89d5dc15a Mon Sep 17 00:00:00 2001 From: brevalferrari Date: Thu, 19 Jun 2025 23:00:23 +0200 Subject: [PATCH] relax Bendable trait methods generics --- bingus/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bingus/src/lib.rs b/bingus/src/lib.rs index 3a48087..e8d1cd6 100644 --- a/bingus/src/lib.rs +++ b/bingus/src/lib.rs @@ -222,14 +222,14 @@ use std::{borrow::Cow, convert::Infallible}; pub trait Bendable: TryFromDataBytes + IntoDataBytes { type Unit; - fn bend_into( + fn bend_into( self, format: ::Format, crop: Crop, ) -> Result::Error> { T::try_from_data_bytes(self.into_data_bytes(), format, crop) } - fn bend_from( + fn bend_from( b: T, format: ::Format, crop: Crop,