Rustdoc produces strange output for pub use ::foo;
items
#96408
Labels
C-bug
Category: This is a bug.
pub use ::foo;
items
#96408
cargo doc
produces some strange-looking documention for the following code:The produced documentation for the
foreign
module in this crate looks like:I'm not sure why the
{{root}}
parts are there, I guess they're indicating the leading::
from the crate paths in myuse
statements but I feel like they should just render like the normal Rust syntax:Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: