diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-24 17:39:08 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-24 17:41:41 +0100 |
| commit | 8d3c68a1deb28dce2b80ed61f85141180ce6a951 (patch) | |
| tree | de007203d448d6b6a2df7838e802f85d23ccd1a6 /src/model/eval.rs | |
| parent | 5ae81971f299688b05d77af208d7bb44ffce5e2d (diff) | |
Protect Vm
Diffstat (limited to 'src/model/eval.rs')
| -rw-r--r-- | src/model/eval.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/eval.rs b/src/model/eval.rs index fb1bd121..e68f6e7a 100644 --- a/src/model/eval.rs +++ b/src/model/eval.rs @@ -1030,7 +1030,7 @@ impl Eval for ast::ModuleInclude { } /// Process an import of a module relative to the current location. -fn import(vm: &mut Vm, path: &str, span: Span) -> SourceResult<Module> { +fn import(vm: &Vm, path: &str, span: Span) -> SourceResult<Module> { // Load the source file. let full = vm.locate(path).at(span)?; let id = vm.world.resolve(&full).at(span)?; |
