From 0c7735a0b14a03f1268daa41b232d0918cbfe37f Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Thu, 23 Feb 2023 18:34:13 +0000 Subject: [PATCH] fix(http): typo in comment --- src/http/percent_encoding.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/percent_encoding.rs b/src/http/percent_encoding.rs index 9b5b79ed..3774519f 100644 --- a/src/http/percent_encoding.rs +++ b/src/http/percent_encoding.rs @@ -3,7 +3,7 @@ use crate::tracker::peer::{self, IdConversionError}; /// # Errors /// -/// Will return `Err` if if the decoded bytes do not represent a valid `InfoHash`. +/// Will return `Err` if the decoded bytes do not represent a valid `InfoHash`. pub fn percent_decode_info_hash(raw_info_hash: &str) -> Result { let bytes = percent_encoding::percent_decode_str(raw_info_hash).collect::>(); InfoHash::try_from(bytes)