Skip to content

Commit

Permalink
version 0.75.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Jan 5, 2025
1 parent c1a2a64 commit 3b96a72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ futures-util = { version = "0.3", default-features = true }
jsonwebtoken = "9"
parking_lot = "0.12"
reqwest = "0.12"
salvo = { version = "0.74.2", git = "https://github.com/salvo-rs/salvo.git", branch="main", default-features = true }
salvo = { version = "0.75.0", git = "https://github.com/salvo-rs/salvo.git", branch="main", default-features = true }
serde = "1"
serde_json = "1"
thiserror = "2"
Expand Down
2 changes: 1 addition & 1 deletion codes/websocket-chat/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async fn handle_socket(ws: WebSocket) {
tokio::task::spawn(fut);
}
async fn user_message(my_id: usize, msg: Message) {
let msg = if let Ok(s) = msg.to_str() {
let msg = if let Ok(s) = msg.as_str() {
s
} else {
return;
Expand Down

0 comments on commit 3b96a72

Please sign in to comment.