mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #7499 - nerith:style, r=metajack
Improve style nit check for space after a comma Fixes #7345. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7499) <!-- Reviewable:end -->
This commit is contained in:
commit
3424e234c8
14 changed files with 21 additions and 21 deletions
|
@ -1153,7 +1153,7 @@ impl Drop for CanvasRenderingContext2D {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn parse_color(string: &str) -> Result<RGBA,()> {
|
||||
pub fn parse_color(string: &str) -> Result<RGBA, ()> {
|
||||
let mut parser = Parser::new(&string);
|
||||
match CSSColor::parse(&mut parser) {
|
||||
Ok(CSSColor::RGBA(rgba)) => {
|
||||
|
|
|
@ -1068,7 +1068,7 @@ impl XMLHttpRequest {
|
|||
|
||||
fn fetch(&self,
|
||||
load_data: LoadData,
|
||||
cors_request: Result<Option<CORSRequest>,()>,
|
||||
cors_request: Result<Option<CORSRequest>, ()>,
|
||||
global: GlobalRef) -> ErrorResult {
|
||||
let cors_request = match cors_request {
|
||||
Err(_) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue