Fix warnings around ChangeProcessor

This commit is contained in:
Lucien Greathouse
2019-09-24 18:07:33 -07:00
parent 7b7c978db6
commit 125c9767f1
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ use crate::{
pub struct ChangeProcessor {
shutdown_sender: Sender<()>,
thread_handle: JoinHandle<()>,
_thread_handle: JoinHandle<()>,
}
impl ChangeProcessor {
@@ -34,7 +34,7 @@ impl ChangeProcessor {
Self {
shutdown_sender,
thread_handle,
_thread_handle: thread_handle,
}
}

View File

@@ -63,7 +63,7 @@ pub struct ServeSession<F> {
/// filesystem, applying them, updating the Roblox instance tree, and
/// routing messages through the session's message queue to any connected
/// clients.
change_processor: ChangeProcessor,
_change_processor: ChangeProcessor,
}
/// Methods that need thread-safety bounds on ImfsFetcher are limited to this
@@ -93,7 +93,7 @@ impl<F: ImfsFetcher + Send + 'static> ServeSession<F> {
tree,
message_queue,
imfs,
change_processor,
_change_processor: change_processor,
}
}
}