summary refs log tree commit diff
path: root/src/test/rustdoc/escape-rust-expr.rs
AgeCommit message (Collapse)AuthorLines
2018-08-26Remove static and const initialization from documentationGuillaume Gomez-1/+1
2016-05-03rustdoc: HTML-escape Rust code (from constants)Georg Brandl-0/+15
Especially in cases like the one in the test file, this can blow up the docs big time if string constants in the code contain HTML. But also other constants can contain special chars (e.g. `&` as an operator in constant expressions).