fix: add Sync bound to Message

This commit is contained in:
Ashley Wulber 2024-04-01 15:29:59 -04:00 committed by Jeremy Soller
parent 924e8b52b7
commit b9cc88c492

View file

@ -401,7 +401,7 @@ where
type Flags; type Flags;
/// Message type specific to our app. /// Message type specific to our app.
type Message: Clone + std::fmt::Debug + Send + 'static; type Message: Clone + std::fmt::Debug + Send + Sync + 'static;
/// An ID that uniquely identifies the application. /// An ID that uniquely identifies the application.
/// The standard is to pick an ID based on a reverse-domain name notation. /// The standard is to pick an ID based on a reverse-domain name notation.