Introduce MessageSession, for keeping track of messages to send to clients

This commit is contained in:
Lucien Greathouse 2018-05-26 01:11:05 -07:00
parent 92fa52c56f
commit d85383cfd4
7 changed files with 108 additions and 74 deletions

View file

@ -64,7 +64,7 @@ impl VfsSession {
}
}
pub fn handle_change(&mut self, change: FileChange) -> Option<()> {
pub fn handle_change(&mut self, change: &FileChange) -> Option<()> {
println!("Got file change {:?}", change);
match change {