From cf20a974c1aa3422c42600088e0952ad7d137d4d Mon Sep 17 00:00:00 2001 From: Warm Beer Date: Thu, 21 Dec 2023 11:41:24 +0100 Subject: [PATCH] fix: clippy error --- contrib/bencode/src/reference/decode_opt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/bencode/src/reference/decode_opt.rs b/contrib/bencode/src/reference/decode_opt.rs index ac94d0311..e8d9a8337 100644 --- a/contrib/bencode/src/reference/decode_opt.rs +++ b/contrib/bencode/src/reference/decode_opt.rs @@ -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