mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
chore: upgrade to rust 1.58 (#13377)
This commit is contained in:
parent
903cb48fe9
commit
ad224f53c7
17 changed files with 29 additions and 46 deletions
|
@ -1918,7 +1918,7 @@ fn permission_prompt(message: &str) -> bool {
|
|||
if success != TRUE {
|
||||
panic!(
|
||||
"Error flushing console input buffer: {}",
|
||||
std::io::Error::last_os_error().to_string()
|
||||
std::io::Error::last_os_error()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -1941,7 +1941,7 @@ fn permission_prompt(message: &str) -> bool {
|
|||
if success != TRUE {
|
||||
panic!(
|
||||
"Error emulating enter key press: {}",
|
||||
std::io::Error::last_os_error().to_string()
|
||||
std::io::Error::last_os_error()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -1954,7 +1954,7 @@ fn permission_prompt(message: &str) -> bool {
|
|||
if success != TRUE {
|
||||
panic!(
|
||||
"Error peeking console input buffer: {}",
|
||||
std::io::Error::last_os_error().to_string()
|
||||
std::io::Error::last_os_error()
|
||||
)
|
||||
}
|
||||
events_read == 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue