Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/vfs/src/loader.rs')
| -rw-r--r-- | crates/vfs/src/loader.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/vfs/src/loader.rs b/crates/vfs/src/loader.rs index 30c08a9ff2..f24354cb49 100644 --- a/crates/vfs/src/loader.rs +++ b/crates/vfs/src/loader.rs @@ -72,7 +72,7 @@ pub enum Message { } /// Type that will receive [`Messages`](Message) from a [`Handle`]. -pub type Sender = Box<dyn Fn(Message) + Send + Sync>; +pub type Sender = crossbeam_channel::Sender<Message>; /// Interface for reading and watching files. pub trait Handle: fmt::Debug { |