Skip to content

Commit

Permalink
Fix: docs fix and remove useless imports in util
Browse files Browse the repository at this point in the history
  • Loading branch information
RDambrosio016 committed Jul 19, 2020
1 parent 31a5bc7 commit 61ec81f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rslint/src/rules/mod.rs
Expand Up @@ -24,7 +24,7 @@ impl CstRuleGroup {
}
}

/// A macro for easily creating rules, consisting of the name of the rule as a string, and its struct name
/// A macro for easily creating rules, consisting of the name of the rule as a string, and its struct name
/// After using this you must import the Visit trait and implement it for the struct
#[macro_export]
macro_rules! cst_rule {
Expand Down
2 changes: 1 addition & 1 deletion rslint/src/tablegen.rs
Expand Up @@ -37,7 +37,7 @@ impl<'a> Cell<'a> {
}
}

/// A simple but limited unicode table renderer for rendering tables in the terminal
/// A simple but limited unicode table renderer for rendering tables in the terminal
/// The first cell of a row is used as the heading, any extra row elements will be thrown out,
/// any missing row elements will be rendered as empty
pub struct Table<'a> {
Expand Down
2 changes: 1 addition & 1 deletion rslint/src/util.rs
@@ -1,5 +1,5 @@
use rslint_parse::lexer::token::*;
use rslint_parse::parser::cst::{declaration::*, expr::*, stmt::*};
use rslint_parse::parser::cst::expr::*;

/// Try to coerce a simple constant expression to a bool, this includes literals and logical expressions
/// with simple const left and right values, this is used for more helpful errors about the impact of const conditions
Expand Down

0 comments on commit 61ec81f

Please sign in to comment.