fix: add Sync bound to Message
This commit is contained in:
parent
924e8b52b7
commit
b9cc88c492
1 changed files with 1 additions and 1 deletions
|
|
@ -401,7 +401,7 @@ where
|
|||
type Flags;
|
||||
|
||||
/// 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.
|
||||
/// The standard is to pick an ID based on a reverse-domain name notation.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue