refactor: remove redundant qualification of symbols in Rust (#15201)

This commit is contained in:
orvit 2022-07-14 16:52:44 -05:00 committed by GitHub
parent 1a7259b04b
commit dbf5e95b59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 28 additions and 33 deletions

View file

@ -249,7 +249,7 @@ where
{
let mut prepared = vec![];
let root_path = std::env::current_dir()?;
let root_path = current_dir()?;
for path in include {
let lowercase_path = path.to_lowercase();
if lowercase_path.starts_with("http://")