mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
chore: upgrade to Rust 1.67 (#17548)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
parent
1a1faff2f6
commit
f5840bdcd3
148 changed files with 576 additions and 681 deletions
|
@ -74,7 +74,7 @@ where
|
|||
if let Err(err) = result {
|
||||
let error_string = match err.downcast_ref::<JsError>() {
|
||||
Some(e) => format_js_error(e),
|
||||
None => format!("{:?}", err),
|
||||
None => format!("{err:?}"),
|
||||
};
|
||||
eprintln!(
|
||||
"{}: {}",
|
||||
|
@ -130,7 +130,7 @@ pub struct PrintConfig {
|
|||
fn create_print_after_restart_fn(clear_screen: bool) -> impl Fn() {
|
||||
move || {
|
||||
if clear_screen && atty::is(atty::Stream::Stderr) {
|
||||
eprint!("{}", CLEAR_SCREEN);
|
||||
eprint!("{CLEAR_SCREEN}");
|
||||
}
|
||||
info!(
|
||||
"{} File change detected! Restarting!",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue