mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-28 10:39:45 +00:00
prefer default over new
This commit is contained in:
parent
6ca780700d
commit
2462624a7d
46 changed files with 100 additions and 127 deletions
|
|
@ -139,7 +139,7 @@ impl ChangeFixture {
|
|||
let channel = toolchain.as_deref().unwrap_or("stable");
|
||||
Version::parse(&format!("1.76.0-{channel}")).unwrap()
|
||||
});
|
||||
let mut source_change = FileChange::new();
|
||||
let mut source_change = FileChange::default();
|
||||
|
||||
let mut files = Vec::new();
|
||||
let mut crate_graph = CrateGraphBuilder::default();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue