Skip to content

Commit b518dca

Browse files
committed
Fix lints
1 parent c633093 commit b518dca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/server/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ fn chatbot_thread() -> (mpsc::Sender<Payload>, mpsc::Sender<()>) {
5656
response = chat_fut => {
5757
responder.send(Some(response)).unwrap();
5858
}
59-
_ = cancel_fut => {
59+
_ = cancel_fut => {
6060
responder.send(None).unwrap();
6161
}
6262
}
@@ -106,7 +106,7 @@ async fn chat(req: Request) -> Response {
106106
}
107107
None => MessagesResponse::Cancelled,
108108
};
109-
109+
110110
Ok(Content::Json(serde_json::to_string(&response).unwrap()))
111111
}
112112

0 commit comments

Comments
 (0)