We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caeea3f commit 7b55f08Copy full SHA for 7b55f08
src/librustdoc/html/render/mod.rs
@@ -1940,8 +1940,6 @@ pub(crate) fn small_url_encode(s: String) -> String {
1940
// While the same is not true for hashes, rustdoc only needs to be
1941
// consistent with itself when encoding them.
1942
st += "+";
1943
- } else if b == b'%' {
1944
- st += "%%";
1945
} else {
1946
write!(st, "%{:02X}", b).unwrap();
1947
}
0 commit comments