mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update to url 2.0
This commit is contained in:
parent
ff3f3d30c7
commit
9392180007
26 changed files with 74 additions and 355 deletions
|
@ -14,15 +14,7 @@ pub enum ImmutableOrigin {
|
|||
Opaque(OpaqueOrigin),
|
||||
|
||||
/// Consists of the URL's scheme, host and port
|
||||
Tuple(
|
||||
String,
|
||||
#[serde(
|
||||
deserialize_with = "url_serde::deserialize",
|
||||
serialize_with = "url_serde::serialize"
|
||||
)]
|
||||
Host,
|
||||
u16,
|
||||
),
|
||||
Tuple(String, Host, u16),
|
||||
}
|
||||
|
||||
impl ImmutableOrigin {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue