From 331addcf61f9e2e0d14541e066dacda453f8fb54 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 25 Jun 2020 13:47:22 +0200 Subject: Canonicalize actor API --- crates/vfs-notify/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/vfs-notify/src') diff --git a/crates/vfs-notify/src/lib.rs b/crates/vfs-notify/src/lib.rs index 282cf0358..68fdb8cb0 100644 --- a/crates/vfs-notify/src/lib.rs +++ b/crates/vfs-notify/src/lib.rs @@ -83,8 +83,8 @@ impl NotifyActor { } } - fn run(mut self, receiver: Receiver) { - while let Some(event) = self.next_event(&receiver) { + fn run(mut self, inbox: Receiver) { + while let Some(event) = self.next_event(&inbox) { log::debug!("vfs-notify event: {:?}", event); match event { Event::Message(msg) => match msg { -- cgit v1.2.3