mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement range index with the Position enum on ServoUrl
This commit is contained in:
parent
22aebdf5d4
commit
0818b44459
6 changed files with 35 additions and 6 deletions
|
@ -358,7 +358,7 @@ impl ResponseMethods for Response {
|
|||
}
|
||||
|
||||
fn serialize_without_fragment(url: &ServoUrl) -> &str {
|
||||
&url.as_url().unwrap()[..Position::AfterQuery]
|
||||
&url[..Position::AfterQuery]
|
||||
}
|
||||
|
||||
impl Response {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue