Give up on entities being Send and Sync

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2021-08-23 17:04:32 +02:00
parent 3543aceff3
commit 94e9a83326
4 changed files with 11 additions and 7 deletions

View file

@ -169,7 +169,7 @@ pub fn build_app_state(cx: &AppContext) -> Arc<AppState> {
pub struct Observer<T>(PhantomData<T>);
impl<T: 'static + Send + Sync> Entity for Observer<T> {
impl<T: 'static> Entity for Observer<T> {
type Event = ();
}