Only store item name instead of full path

This commit is contained in:
Ryo Yoshida 2023-06-30 23:24:15 +09:00
parent 860628af7c
commit 2b106648a7
No known key found for this signature in database
GPG key ID: E25698A930586171
2 changed files with 149 additions and 214 deletions

View file

@ -360,7 +360,7 @@ fn calculate_best_path(
prefer_no_std,
)?;
cov_mark::hit!(partially_imported);
path.push_segment(info.path.segments.last()?.clone());
path.push_segment(info.name.clone());
Some(path)
})
});