From f7cedb35362e3932a935d7090b18ad48698c277b Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 24 Dec 2016 09:05:10 -0700 Subject: [PATCH] Doc clean up --- src/lexer/charset.rs | 6 +++--- src/lexer/mod.rs | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) 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() }