diff options
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/show.rs | 1 | ||||
| -rw-r--r-- | src/model/vm.rs | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/model/show.rs b/src/model/show.rs index 86659463..cc84e6db 100644 --- a/src/model/show.rs +++ b/src/model/show.rs @@ -28,7 +28,6 @@ pub trait Show: 'static { /// this for effects that should work even in the face of a user-defined /// show rule, for example: /// - Application of general settable properties - /// - Attaching things like semantics to a heading /// /// Defaults to just the realized content. #[allow(unused_variables)] 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<SourceId>, @@ -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. |
