mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-14 17:07:26 +00:00
Revert "Update crates/ide/src/runnables.rs"
This reverts commit bf47acf1d3
.
This commit is contained in:
parent
c1685e56b7
commit
0d02be7330
1 changed files with 2 additions and 1 deletions
|
@ -435,7 +435,8 @@ fn module_def_doctest(db: &RootDatabase, def: Definition) -> Option<Runnable> {
|
|||
ty_args.format_with(", ", |ty, cb| cb(&ty.display(db)))
|
||||
);
|
||||
}
|
||||
return Some(format!(r#""{}::{}""#, path, def_name));
|
||||
format_to!(path, "::{}\"", def_name);
|
||||
return Some(format!("\"{}", path));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue