Skip to content

Commit 0c7735a

Browse files
committed
fix(http): typo in comment
1 parent 2de8265 commit 0c7735a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/percent_encoding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use crate::tracker::peer::{self, IdConversionError};
33

44
/// # Errors
55
///
6-
/// Will return `Err` if if the decoded bytes do not represent a valid `InfoHash`.
6+
/// Will return `Err` if the decoded bytes do not represent a valid `InfoHash`.
77
pub fn percent_decode_info_hash(raw_info_hash: &str) -> Result<InfoHash, ConversionError> {
88
let bytes = percent_encoding::percent_decode_str(raw_info_hash).collect::<Vec<u8>>();
99
InfoHash::try_from(bytes)

0 commit comments

Comments
 (0)