Blockstream / greenlight

Build apps using self-custodial lightning nodes in the cloud
https://blockstream.github.io/greenlight/getting-started/
MIT License
109 stars 27 forks source link

Clippy gives an error for PairingSessionData #500

Closed nepet closed 3 weeks ago

nepet commented 3 weeks ago

Clippy complaints, that PairingSessionData does not implement std::fmt::Debug.

help: the trait `std::fmt::Debug` is not implemented for `PairingSessionData`, which is required by `tokio::sync::mpsc::error::SendError<PairingSessionData>: std::fmt::Debug`
note: add `#[derive(Debug)]` to `PairingSessionData` or manually `impl std::fmt::Debug for PairingSessionData`
help: the trait `std::fmt::Debug` is implemented for `tokio::sync::mpsc::error::SendError<T>`
note: required for `tokio::sync::mpsc::error::SendError<PairingSessionData>` to implement `std::fmt::Debug`