diff --git a/src/lexer/charset.rs b/src/lexer/charset.rs index 0e8b1c1..63aaaaf 100644 --- a/src/lexer/charset.rs +++ b/src/lexer/charset.rs @@ -1,6 +1,6 @@ -/// Character Sets -/// -/// Sets of characters valid for making up tokens. +/* charset.rs + * Eryn Wells + */ use std::collections::HashSet; use std::iter::FromIterator; diff --git a/src/lexer/mod.rs b/src/lexer/mod.rs index a440dce..5c61537 100644 --- a/src/lexer/mod.rs +++ b/src/lexer/mod.rs @@ -1,4 +1,6 @@ -//! # Lexer +/* lexer.rs + * Eryn Wells + */ pub mod token; mod char; @@ -58,8 +60,7 @@ impl Lexer { println!("> begin={}", self.begin); } - /// Get the substring between the two input indexes. This is the value to give to a new Token - /// instance. + /// Get the substring between the two input indexes. This is the value to give to a new Token instance. fn value(&self) -> String { self.input[self.begin .. self.forward].to_string() }