mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix existing syntactics nits.
This commit is contained in:
parent
7f935f010b
commit
8bb853f643
93 changed files with 393 additions and 397 deletions
|
@ -53,7 +53,7 @@ pub struct CORSCacheEntry {
|
|||
}
|
||||
|
||||
impl CORSCacheEntry {
|
||||
fn new(origin:Url, url: Url, max_age: u32, credentials: bool,
|
||||
fn new(origin: Url, url: Url, max_age: u32, credentials: bool,
|
||||
header_or_method: HeaderOrMethod) -> CORSCacheEntry {
|
||||
CORSCacheEntry {
|
||||
origin: origin,
|
||||
|
|
|
@ -112,7 +112,7 @@ pub struct Request {
|
|||
pub redirect_mode: RedirectMode,
|
||||
pub redirect_count: usize,
|
||||
pub response_tainting: ResponseTainting,
|
||||
pub cache: Option<Box<CORSCache+'static>>
|
||||
pub cache: Option<Box<CORSCache + 'static>>
|
||||
}
|
||||
|
||||
impl Request {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue