diff options
author | Aleksey Kladov <[email protected]> | 2018-08-21 16:30:10 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-21 16:30:10 +0100 |
commit | b937262c9b75a361b95a6a27260a71c737e035bf (patch) | |
tree | 1838794f32d43a8c45c478b9f24bd74d257edd43 /crates/server/src/server_world.rs | |
parent | 4d8be265849c55912467961e09af657176472dcb (diff) |
Module map implementation
Diffstat (limited to 'crates/server/src/server_world.rs')
-rw-r--r-- | crates/server/src/server_world.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/server/src/server_world.rs b/crates/server/src/server_world.rs index c0d2efb86..9850822cd 100644 --- a/crates/server/src/server_world.rs +++ b/crates/server/src/server_world.rs | |||
@@ -86,7 +86,7 @@ impl ServerWorldState { | |||
86 | Ok(()) | 86 | Ok(()) |
87 | } | 87 | } |
88 | 88 | ||
89 | pub fn snapshot(&self) -> ServerWorld { | 89 | pub fn snapshot(&mut self) -> ServerWorld { |
90 | let pm = self.path_map.clone(); | 90 | let pm = self.path_map.clone(); |
91 | ServerWorld { | 91 | ServerWorld { |
92 | analysis: self.analysis.snapshot(move |id, path| { | 92 | analysis: self.analysis.snapshot(move |id, path| { |