mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
refactor: util functions take slices instead of heap values (#6547)
This commit is contained in:
parent
0374eadcf7
commit
db36857288
16 changed files with 118 additions and 152 deletions
|
@ -121,7 +121,7 @@ pub fn fetch_once(
|
|||
if let Some(warning) = headers.get("X-Deno-Warning") {
|
||||
eprintln!(
|
||||
"{} {}",
|
||||
crate::colors::yellow("Warning".to_string()),
|
||||
crate::colors::yellow("Warning"),
|
||||
warning.to_str().unwrap()
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue