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

Commit bf47acf

Browse files
SeniorMarsVeykril
andauthored
Update crates/ide/src/runnables.rs
Co-authored-by: Lukas Wirth <[email protected]>
1 parent 5f3327a commit bf47acf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/ide/src/runnables.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,7 @@ fn module_def_doctest(db: &RootDatabase, def: Definition) -> Option<Runnable> {
426426
ty_args.format_with(", ", |ty, cb| cb(&ty.display(db)))
427427
);
428428
}
429-
format_to!(path, "::{}\"", def_name);
430-
return Some(format!("\"{}", path));
429+
return Some(format!(r#""{}::{}""#, path, def_name));
431430
}
432431
}
433432
}

0 commit comments

Comments
 (0)