1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 21:10:37 +02:00
This commit is contained in:
Rob Ede
2021-07-16 21:46:32 +01:00
parent ad22a93466
commit a0fe2a9b2e
3 changed files with 5 additions and 4 deletions

View File

@ -211,7 +211,7 @@ mod tests {
}
fn percent_encode(data: &[u8]) -> String {
data.into_iter().map(|c| format!("%{:02X}", c)).collect()
data.iter().map(|c| format!("%{:02X}", c)).collect()
}
#[test]