aboutsummaryrefslogtreecommitdiff
path: root/src/editor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.rs')
-rw-r--r--src/editor.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/editor.rs b/src/editor.rs
index e6a2dcb..87a8db4 100644
--- a/src/editor.rs
+++ b/src/editor.rs
@@ -184,4 +184,7 @@ impl Editor {
pub fn map(&self) -> &Map {
&self.map
}
+ pub fn map_mut(&mut self) -> &mut Map {
+ &mut self.map
+ }
}