mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Minor, rename
This commit is contained in:
parent
846ed08fba
commit
f2f69e75c8
2 changed files with 3 additions and 3 deletions
|
@ -110,7 +110,7 @@ fn with_single_file(db: &mut dyn SourceDatabaseExt, ra_fixture: &str) -> FileId
|
|||
let source_root = SourceRoot::new_local(file_set);
|
||||
|
||||
let crate_graph = if let Some(meta) = ra_fixture.lines().find(|it| it.contains("//-")) {
|
||||
let entry = Fixture::parse_single(meta.trim());
|
||||
let entry = Fixture::parse_meta_line(meta.trim());
|
||||
let meta = match ParsedMeta::from(&entry) {
|
||||
ParsedMeta::File(it) => it,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue