Modify script to prevent further violations of snake_case

This commit is contained in:
Kunal Mohan 2020-01-18 01:29:26 +05:30
parent 2a594821ba
commit f7db4b7f80
No known key found for this signature in database
GPG key ID: 2B475A4524237BAC
135 changed files with 205 additions and 54 deletions

View file

@ -132,7 +132,7 @@ fn request_init_from_request(request: NetTraitsRequest) -> RequestBuilder {
}
// https://fetch.spec.whatwg.org/#fetch-method
#[allow(unrooted_must_root)]
#[allow(unrooted_must_root, non_snake_case)]
pub fn Fetch(
global: &GlobalScope,
input: RequestInfo,
@ -349,7 +349,7 @@ pub fn load_whole_resource(
}
/// https://html.spec.whatwg.org/multipage/#create-a-potential-cors-request
pub(crate) fn create_a_potential_CORS_request(
pub(crate) fn create_a_potential_cors_request(
url: ServoUrl,
destination: Destination,
cors_setting: Option<CorsSettings>,