diff options
author | Luca Casonato <hello@lcas.dev> | 2022-05-13 01:12:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 01:12:55 +0200 |
commit | 0ee76da07b12fba38962634e65853d73adf9d4c0 (patch) | |
tree | 49ab40c5662c0d8820c7973ff788139ad3c5e62c /cli/tools/repl | |
parent | 6fff813029b47c0ca9497aaba5920f8acf981772 (diff) |
chore: update to rust 1.60.0 & update Cargo.lock (#14260)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
Diffstat (limited to 'cli/tools/repl')
-rw-r--r-- | cli/tools/repl/mod.rs | 2 | ||||
-rw-r--r-- | cli/tools/repl/session.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/repl/mod.rs b/cli/tools/repl/mod.rs index f0964ec4d..7ca229ab3 100644 --- a/cli/tools/repl/mod.rs +++ b/cli/tools/repl/mod.rs @@ -133,7 +133,7 @@ pub async fn run( // We check for close and break here instead of making it a loop condition to get // consistent behavior in when the user evaluates a call to close(). - if repl_session.is_closing().await? { + if repl_session.closing().await? { break; } diff --git a/cli/tools/repl/session.rs b/cli/tools/repl/session.rs index d72fc9499..c256172e4 100644 --- a/cli/tools/repl/session.rs +++ b/cli/tools/repl/session.rs @@ -116,7 +116,7 @@ impl ReplSession { Ok(repl_session) } - pub async fn is_closing(&mut self) -> Result<bool, AnyError> { + pub async fn closing(&mut self) -> Result<bool, AnyError> { let closed = self .evaluate_expression("(this.closed)") .await? |