Skip to content

Commit

Permalink
fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
callmeclover committed Apr 23, 2024
1 parent 491a1f3 commit b4a8340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ async fn handle_socket(socket: WebSocket, _who: SocketAddr, state: Arc<AppState>
Parser::new(&request.msg.replace("<", "<").replace(">", "&gt;"))
);

match into_censored_md(&clean(&*msg_new), &mut user) {
match into_censored_md(&clean(&*msg_new), &mut user.as_ref()) {
Ok(output) => {
request.msg = output;
request.time = Some(Utc::now());
Expand Down

0 comments on commit b4a8340

Please sign in to comment.