Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
willcrichton committed Sep 4, 2024
1 parent 264df8e commit 57a9e35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn chatbot_thread() -> (mpsc::Sender<Payload>, mpsc::Sender<()>) {
response = chat_fut => {
responder.send(Some(response)).unwrap();
}
_ = cancel_fut => {
_ = cancel_fut => {
responder.send(None).unwrap();
}
}
Expand Down Expand Up @@ -106,7 +106,7 @@ async fn chat(req: Request) -> Response {
}
None => MessagesResponse::Cancelled,
};

Ok(Content::Json(serde_json::to_string(&response).unwrap()))
}

Expand Down

0 comments on commit 57a9e35

Please sign in to comment.