Switch to Rust 2024 edition (#18129)
This commit is contained in:
@@ -15,7 +15,7 @@ mod search;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::fs::{create_dir_all, File};
|
||||
use std::fs::{File, create_dir_all};
|
||||
use std::io::{self, Write};
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
|
||||
@@ -505,7 +505,7 @@ fn pick_best_import(
|
||||
best_import_so_far
|
||||
} else {
|
||||
new_import
|
||||
}
|
||||
};
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
@@ -582,7 +582,7 @@ fn pick_best_import(
|
||||
best_import_so_far
|
||||
} else {
|
||||
new_import
|
||||
}
|
||||
};
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user