aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 31e1bb209..4385c0325 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,7 +1,8 @@
1#[cfg(test)] 1mod text;
2mod tests { 2mod tree;
3 #[test] 3mod lexer;
4 fn it_works() { 4
5 assert_eq!(2 + 2, 4); 5pub mod syntax_kinds;
6 } 6pub use text::TextUnit;
7} 7pub use tree::{SyntaxKind, Token};
8pub use lexer::next_token;