diff options
Diffstat (limited to 'src/resolve.rs')
-rw-r--r-- | src/resolve.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve.rs b/src/resolve.rs index e72b2a2..e7d63f9 100644 --- a/src/resolve.rs +++ b/src/resolve.rs @@ -2,7 +2,7 @@ use crate::construct; use crate::content; use crate::tokenizer::Tokenizer; -/// Names of functions to move to. +/// Names of functions that resolve. #[derive(Debug, Clone, Copy, PartialEq)] pub enum Name { Label, @@ -16,7 +16,7 @@ pub enum Name { Text, } -/// Call the corresponding function for a state name. +/// Call the corresponding resolver. pub fn call(tokenizer: &mut Tokenizer, name: Name) { let func = match name { Name::Label => construct::label_end::resolve, |