Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix clippy warning
Browse files Browse the repository at this point in the history
wulfraem committed Jun 28, 2024
1 parent 8075aea commit ecac961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoding/ternary/raw.rs
Original file line number Diff line number Diff line change
@@ -101,7 +101,7 @@ pub trait RawEncodingBuf {
/// Convert this encoding into another encoding.
/// TODO: Rename this `reencode`
#[allow(clippy::wrong_self_convention)]
fn into_encoding<T: RawEncodingBuf>(this: TritBuf<Self>) -> TritBuf<T>
fn into_encoding<T>(this: TritBuf<Self>) -> TritBuf<T>
where
Self: Sized,
T: RawEncodingBuf,

0 comments on commit ecac961

Please sign in to comment.