Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 0d02be7

Browse files
committed
Revert "Update crates/ide/src/runnables.rs"
This reverts commit bf47acf.
1 parent c1685e5 commit 0d02be7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/ide/src/runnables.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,8 @@ fn module_def_doctest(db: &RootDatabase, def: Definition) -> Option<Runnable> {
435435
ty_args.format_with(", ", |ty, cb| cb(&ty.display(db)))
436436
);
437437
}
438-
return Some(format!(r#""{}::{}""#, path, def_name));
438+
format_to!(path, "::{}\"", def_name);
439+
return Some(format!("\"{}", path));
439440
}
440441
}
441442
}

0 commit comments

Comments
 (0)