remove imports that are also in edition 2021's prelude
This commit is contained in:
@@ -512,7 +512,7 @@ fn clippy_code_description(code: Option<&str>) -> Option<lsp_types::CodeDescript
|
||||
#[cfg(test)]
|
||||
#[cfg(not(windows))]
|
||||
mod tests {
|
||||
use std::{convert::TryInto, path::Path};
|
||||
use std::path::Path;
|
||||
|
||||
use crate::{config::Config, global_state::GlobalState};
|
||||
|
||||
|
||||
@@ -1386,7 +1386,7 @@ fn main() {
|
||||
#[test]
|
||||
#[cfg(target_os = "windows")]
|
||||
fn test_lowercase_drive_letter() {
|
||||
use std::{convert::TryInto, path::Path};
|
||||
use std::path::Path;
|
||||
|
||||
let url = url_from_abs_path(Path::new("C:\\Test").try_into().unwrap());
|
||||
assert_eq!(url.to_string(), "file:///c:/Test");
|
||||
|
||||
Reference in New Issue
Block a user