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 c516249 commit 613630dCopy full SHA for 613630d
src/librustdoc/html/render/mod.rs
@@ -1933,8 +1933,6 @@ pub(crate) fn small_url_encode(s: String) -> String {
1933
// While the same is not true for hashes, rustdoc only needs to be
1934
// consistent with itself when encoding them.
1935
st += "+";
1936
- } else if b == b'%' {
1937
- st += "%%";
1938
} else {
1939
write!(st, "%{:02X}", b).unwrap();
1940
}
0 commit comments