mirror of
https://github.com/servo/servo.git
synced 2025-08-01 11:40:30 +01:00
Add plugins for compositing and net crates #7699
Changed to_string calls to to_owned calls where was a need.
This commit is contained in:
parent
44de9173cc
commit
88815d21ba
18 changed files with 43 additions and 31 deletions
|
@ -172,7 +172,7 @@ impl StorageManager {
|
|||
}
|
||||
|
||||
fn origin_as_string(&self, url: Url) -> String {
|
||||
let mut origin = "".to_string();
|
||||
let mut origin = "".to_owned();
|
||||
origin.push_str(&url.scheme);
|
||||
origin.push_str("://");
|
||||
url.domain().map(|domain| origin.push_str(&domain));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue