mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Run cargo fix --edition-idioms
This commit is contained in:
parent
23d25a3094
commit
816f7fe12a
230 changed files with 888 additions and 888 deletions
|
@ -407,7 +407,7 @@ pub fn project_root() -> PathBuf {
|
|||
PathBuf::from(dir).parent().unwrap().parent().unwrap().to_owned()
|
||||
}
|
||||
|
||||
pub fn format_diff(chunks: Vec<dissimilar::Chunk>) -> String {
|
||||
pub fn format_diff(chunks: Vec<dissimilar::Chunk<'_>>) -> String {
|
||||
let mut buf = String::new();
|
||||
for chunk in chunks {
|
||||
let formatted = match chunk {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue