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 69c1c6a commit 3792be6Copy full SHA for 3792be6
src/librustdoc/doctest.rs
@@ -853,6 +853,7 @@ impl Collector {
853
854
fn generate_name(&self, line: usize, filename: &FileName) -> String {
855
let mut item_path = self.names.join("::");
856
+ item_path.retain(|c| c != ' ');
857
if !item_path.is_empty() {
858
item_path.push(' ');
859
}
0 commit comments