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 3819cf7 commit 236c18fCopy full SHA for 236c18f
src/librustdoc/html/format.rs
@@ -853,7 +853,7 @@ fn fmt_type<'cx>(
853
trace!("fmt_type(t = {:?})", t);
854
855
match *t {
856
- clean::Generic(name) => write!(f, "{}", name),
+ clean::Generic(name) => write!(f, "{}", Escape(name.as_str())),
857
clean::Type::Path { ref path } => {
858
// Paths like `T::Output` and `Self::Output` should be rendered with all segments.
859
let did = path.def_id();
0 commit comments