Skip to content

Commit

Permalink
fix: clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Dec 22, 2023
1 parent 6e607c3 commit ff3928e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/bencode/src/reference/decode_opt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl BDecodeOpt {
///
/// It may be useful to disable this if for example, the input bencode is prepended to
/// some payload and you would like to disassociate it. In this case, to find where the
/// rest of the payload starts that wasn't decoded, get the bencode buffer, and call len().
/// rest of the payload starts that wasn't decoded, get the bencode buffer, and call `len()`.
#[must_use]
pub fn enforce_full_decode(&self) -> bool {
self.enforce_full_decode
Expand Down

0 comments on commit ff3928e

Please sign in to comment.