Skip to content

Commit

Permalink
fix: Allow the warning for now
Browse files Browse the repository at this point in the history
  • Loading branch information
uttarayan21 committed May 17, 2024
1 parent c01e992 commit 83710e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ use tui::text::Text;
/// IntoText will convert any type that has a AsRef<[u8]> to a Text.
pub trait IntoText {
/// Convert the type to a Text.
#[allow(clippy::wrong_self_convention)]

Check warning on line 49 in src/lib.rs

View check run for this annotation

Codecov / codecov/patch

src/lib.rs#L49

Added line #L49 was not covered by tests
fn into_text(&self) -> Result<Text<'static>, Error>;
/// Convert the type to a Text while trying to copy as less as possible
#[cfg(feature = "zero-copy")]
Expand Down

0 comments on commit 83710e7

Please sign in to comment.