Bump actions/checkout from 4 to 6 #2
Annotations
1 warning
|
Run clippy action:
src/event.rs#L53
warning: you should consider adding a `Default` implementation for `EventHandler`
--> src/event.rs:53:5
|
53 | / pub fn new() -> Self {
54 | | let (sender, receiver) = mpsc::unbounded_channel();
55 | | let actor = EventTask::new(sender.clone());
56 | | tokio::spawn(async { actor.run().await });
57 | | Self { sender, receiver }
58 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
51 + impl Default for EventHandler {
52 + fn default() -> Self {
53 + Self::new()
54 + }
55 + }
|
|
Loading