mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Make ServoUrl::as_url return a &Url
This commit is contained in:
parent
fb2c9e7bf5
commit
bba0be13dd
7 changed files with 19 additions and 19 deletions
|
@ -48,7 +48,7 @@ impl URL {
|
|||
}
|
||||
|
||||
pub fn query_pairs(&self) -> Vec<(String, String)> {
|
||||
self.url.borrow().as_url().unwrap().query_pairs().into_owned().collect()
|
||||
self.url.borrow().as_url().query_pairs().into_owned().collect()
|
||||
}
|
||||
|
||||
pub fn set_query_pairs(&self, pairs: &[(String, String)]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue