mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
vfs: Fix warnings about clippy str_to_string
rule
This commit is contained in:
parent
81c35d1f56
commit
cee3c22ae8
2 changed files with 8 additions and 8 deletions
|
@ -201,7 +201,7 @@ impl Directories {
|
|||
/// ```
|
||||
fn dirs(base: AbsPathBuf, exclude: &[&str]) -> Directories {
|
||||
let exclude = exclude.iter().map(|it| base.join(it)).collect::<Vec<_>>();
|
||||
Directories { extensions: vec!["rs".to_string()], include: vec![base], exclude }
|
||||
Directories { extensions: vec!["rs".to_owned()], include: vec![base], exclude }
|
||||
}
|
||||
|
||||
impl fmt::Debug for Message {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue