summaryrefslogtreecommitdiff
path: root/cli/tools/repl/mod.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-01-31 14:00:18 +0100
committerGitHub <noreply@github.com>2022-01-31 14:00:18 +0100
commitb7b6b9c9e5b84dea67ff6a2b691245f640644b2c (patch)
tree3c4136f43cc9fa5f52ec1e33f35d306f6b67f695 /cli/tools/repl/mod.rs
parent56ea75817e57a908a3894abc7f1b85327d8a2efb (diff)
Revert "refactor: factor out CDP message types (#13501)" (#13540)
This reverts commit 382a978859a7a7a4351542be818bb2e59523429c.
Diffstat (limited to 'cli/tools/repl/mod.rs')
-rw-r--r--cli/tools/repl/mod.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/tools/repl/mod.rs b/cli/tools/repl/mod.rs
index b49c641c4..0c9fdbfb0 100644
--- a/cli/tools/repl/mod.rs
+++ b/cli/tools/repl/mod.rs
@@ -33,7 +33,10 @@ async fn read_line_and_poll(
}
result = message_handler.recv() => {
match result {
- Some(RustylineSyncMessage::PostMessage { method, params }) => {
+ Some(RustylineSyncMessage::PostMessage {
+ method,
+ params
+ }) => {
let result = repl_session
.post_message_with_event_loop(&method, params)
.await;