mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Add semicolons for consistency
`clippy::semicolon_if_nothing_returned`
This commit is contained in:
parent
60c5449120
commit
55c0b86cde
46 changed files with 151 additions and 151 deletions
|
@ -357,7 +357,7 @@ impl VirtualPath {
|
|||
if !res.pop() {
|
||||
return None;
|
||||
}
|
||||
path = &path["../".len()..]
|
||||
path = &path["../".len()..];
|
||||
}
|
||||
path = path.trim_start_matches("./");
|
||||
res.0 = format!("{}/{}", res.0, path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue