aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/string_lexing.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-12-27 11:42:46 +0000
committerAleksey Kladov <[email protected]>2018-12-27 11:42:46 +0000
commit73ded3c63ca2522b7bb6ca8eb7834c5adc1a3511 (patch)
tree521f3b0fa02e32b0b2a6e9a9d1370845d922657f /crates/ra_syntax/src/string_lexing.rs
parentdbf03b674e7e1a49d9b32ec5ed656df2aedd3ed3 (diff)
dedupe literal parsers
Diffstat (limited to 'crates/ra_syntax/src/string_lexing.rs')
-rw-r--r--crates/ra_syntax/src/string_lexing.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/crates/ra_syntax/src/string_lexing.rs b/crates/ra_syntax/src/string_lexing.rs
index 94853331f..349733f3f 100644
--- a/crates/ra_syntax/src/string_lexing.rs
+++ b/crates/ra_syntax/src/string_lexing.rs
@@ -1,13 +1,7 @@
1mod parser; 1mod parser;
2mod byte;
3mod byte_string;
4mod char;
5mod string; 2mod string;
6 3
7pub use self::{ 4pub use self::{
8 byte::parse_byte_literal, 5 parser::{StringComponent, StringComponentKind},
9 byte_string::parse_byte_string_literal, 6 string::{parse_string_literal, parse_char_literal, parse_byte_literal, parse_byte_string_literal},
10 char::parse_char_literal,
11 parser::{CharComponent, CharComponentKind, StringComponent, StringComponentKind},
12 string::parse_string_literal,
13}; 7};