Fix the profiling string
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
parent
b2e6ca46ca
commit
04cd4b17bb
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ pub fn insert_use<'a>(
|
|||
path: ast::Path,
|
||||
merge: Option<MergeBehaviour>,
|
||||
) -> SyntaxRewriter<'a> {
|
||||
let _p = profile::span("mod_path_to_ast");
|
||||
let _p = profile::span("insert_use");
|
||||
let mut rewriter = SyntaxRewriter::default();
|
||||
let use_item = make::use_(make::use_tree(path.clone(), None, None, false));
|
||||
// merge into existing imports if possible
|
||||
|
|
Loading…
Add table
Reference in a new issue