mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
clippy: Fix a few problems in components/scripts
(#31959)
* fixed various clippy warnings * fixed various clippy warnings
This commit is contained in:
parent
00c4d798c9
commit
52a74287fc
5 changed files with 6 additions and 6 deletions
|
@ -615,7 +615,7 @@ impl ModuleTree {
|
|||
}
|
||||
|
||||
// Step 2.
|
||||
if !specifier_str.starts_with("/") &&
|
||||
if !specifier_str.starts_with('/') &&
|
||||
!specifier_str.starts_with("./") &&
|
||||
!specifier_str.starts_with("../")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue