diff --git a/src/error.rs b/src/error.rs index 5aab92d..9993e7e 100644 --- a/src/error.rs +++ b/src/error.rs @@ -56,7 +56,7 @@ pub(crate) enum Error { }, #[snafu(display("Failed to serialize torrent metainfo: {}", source))] MetainfoSerialize { source: bendy::serde::Error }, - #[snafu(display("Failed to decode torrent metainfo from {}: {}", input, error))] + #[snafu(display("Failed to decode metainfo bencode from {}: {}", input, error))] MetainfoDecode { input: InputTarget, error: bendy::decoding::Error, diff --git a/src/lib.rs b/src/lib.rs index a15023c..80551de 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,6 +13,7 @@ clippy::map_unwrap_or, clippy::missing_docs_in_private_items, clippy::missing_inline_in_public_items, + clippy::needless_lifetimes, clippy::needless_pass_by_value, clippy::non_ascii_literal, clippy::pattern_type_mismatch,