mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
refactor: remove some url to string clones (#30247)
This commit is contained in:
parent
1715fc5a7a
commit
ae6ac919de
10 changed files with 27 additions and 28 deletions
|
@ -268,7 +268,7 @@ pub fn op_blob_create_object_url(
|
|||
let url = blob_store
|
||||
.insert_object_url(blob, maybe_location.map(|location| location.0.clone()));
|
||||
|
||||
Ok(url.to_string())
|
||||
Ok(url.into())
|
||||
}
|
||||
|
||||
#[op2(fast)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue