diff --git a/percent_encoding/src/lib.rs b/percent_encoding/src/lib.rs index fba0cd91..11b6296e 100644 --- a/percent_encoding/src/lib.rs +++ b/percent_encoding/src/lib.rs @@ -91,7 +91,7 @@ pub fn percent_encode_byte(byte: u8) -> &'static str { "; let index = usize::from(byte) * 3; - // SAFETY: ENC_TABLE is ascii-only, so any subset if it should be + // SAFETY: ENC_TABLE is ascii-only, so any subset of it should be // ascii-only too, which is valid utf8. unsafe { str::from_utf8_unchecked(&ENC_TABLE[index..index + 3]) } }