mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Modify script
to prevent further violations of snake_case
This commit is contained in:
parent
2a594821ba
commit
f7db4b7f80
135 changed files with 205 additions and 54 deletions
|
@ -10,6 +10,7 @@ use url::quirks;
|
|||
#[derive(MallocSizeOf)]
|
||||
pub struct UrlHelper;
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl UrlHelper {
|
||||
pub fn Origin(url: &ServoUrl) -> USVString {
|
||||
USVString(quirks::origin(url.as_url()).to_owned())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue