From f547c97072881069417acd3b79b08fb7ecf40ba2 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 31 Oct 2022 15:47:49 +0100 Subject: Reduce usage of `finalize` --- src/model/vm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/model/vm.rs') diff --git a/src/model/vm.rs b/src/model/vm.rs index 614e2a9f..6207ffd5 100644 --- a/src/model/vm.rs +++ b/src/model/vm.rs @@ -12,7 +12,7 @@ use crate::{LangItems, World}; pub struct Vm<'a> { /// The core context. pub world: Tracked<'a, dyn World>, - /// The route of source ids the machine took to reach its current location. + /// The route of source ids the VM took to reach its current location. pub route: Tracked<'a, Route>, /// The current location. pub location: Option, @@ -52,7 +52,7 @@ impl<'a> Vm<'a> { } } - return Err("cannot access file system from here".into()); + Err("cannot access file system from here".into()) } /// The language items. -- cgit v1.2.3