diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-06-26 14:37:10 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-06-26 16:27:12 +0200 |
commit | 78464eeabcc0644a979d92882c3a170a698f18b1 (patch) | |
tree | da41d06ab11130eb6455ad41d5c2f64d51f6ec39 /components/net | |
parent | edeed11cefba1524abbce55d398574c005b7687a (diff) | |
download | servo-78464eeabcc0644a979d92882c3a170a698f18b1.tar.gz servo-78464eeabcc0644a979d92882c3a170a698f18b1.zip |
Update uuid
This is required to use the new version of gleam and update ipc-channels
without duplicating the dependency in the future.
Diffstat (limited to 'components/net')
-rw-r--r-- | components/net/http_loader.rs | 2 | ||||
-rw-r--r-- | components/net/tests/fetch.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/components/net/http_loader.rs b/components/net/http_loader.rs index f79f67ce1d9..6a12100f3d1 100644 --- a/components/net/http_loader.rs +++ b/components/net/http_loader.rs @@ -1683,7 +1683,7 @@ async fn http_network_fetch( let request_id = context .devtools_chan .as_ref() - .map(|_| uuid::Uuid::new_v4().to_simple().to_string()); + .map(|_| uuid::Uuid::new_v4().simple().to_string()); if log_enabled!(log::Level::Info) { info!("{:?} request for {}", request.method, url); diff --git a/components/net/tests/fetch.rs b/components/net/tests/fetch.rs index 4c0149b8f1a..3b0f18f1950 100644 --- a/components/net/tests/fetch.rs +++ b/components/net/tests/fetch.rs @@ -198,7 +198,7 @@ fn test_fetch_blob() { true, "http://www.example.org".into(), ); - let url = ServoUrl::parse(&format!("blob:{}{}", origin.as_str(), id.to_simple())).unwrap(); + let url = ServoUrl::parse(&format!("blob:{}{}", origin.as_str(), id.simple())).unwrap(); let mut request = Request::new( url, |