Update Rust crate axum to 0.8.0 #80
GitHub Actions / clippy
failed
Jan 7, 2025 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check failure on line 113 in src/main.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> src/main.rs:113:33
|
113 | .send(Message::Text(e.content.to_owned()))
| ------------- ^^^^^^^^^^^^^^^^^^^^ expected `Utf8Bytes`, found `String`
| |
| arguments to this enum variant are incorrect
|
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.8.1/src/extract/ws.rs:709:5
|
709 | Text(Utf8Bytes),
| ^^^^
help: call `Into::into` on this expression to convert `std::string::String` into `axum::extract::ws::Utf8Bytes`
|
113 | .send(Message::Text(e.content.to_owned().into()))
| +++++++
Loading