diff options
author | NerdyPepper <[email protected]> | 2019-06-18 11:54:57 +0100 |
---|---|---|
committer | NerdyPepper <[email protected]> | 2019-06-18 11:54:57 +0100 |
commit | 6ed405d71be1f0887101f4a444b0307c2ca74e56 (patch) | |
tree | 94ee8b3c267a03a7ee86a5f8ba921e3f07a6cdde /src | |
parent | 1a06f12da5e701b778009fc5c81db28f092fcede (diff) |
add imports
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index ffdb690..63e886e 100644 --- a/src/main.rs +++ b/src/main.rs | |||
@@ -6,6 +6,7 @@ | |||
6 | 6 | ||
7 | // std | 7 | // std |
8 | use std::f64; | 8 | use std::f64; |
9 | use std::borrow::Cow::{self, Borrowed, Owned}; | ||
9 | 10 | ||
10 | // modules | 11 | // modules |
11 | mod lex; | 12 | mod lex; |
@@ -19,10 +20,12 @@ use crate::format::*; | |||
19 | 20 | ||
20 | // extern crates | 21 | // extern crates |
21 | use rustyline::error::ReadlineError; | 22 | use rustyline::error::ReadlineError; |
22 | use rustyline::Editor; | 23 | use rustyline::{ Editor, Context, Helper }; |
23 | use rustyline::config::{ Builder, ColorMode, EditMode, CompletionType }; | 24 | use rustyline::config::{ Builder, ColorMode, EditMode, CompletionType }; |
25 | use rustyline::hint::Hinter; | ||
26 | use rustyline::completion::{ FilenameCompleter, Completer, Pair }; | ||
24 | use rustyline::highlight::{ Highlighter, MatchingBracketHighlighter }; | 27 | use rustyline::highlight::{ Highlighter, MatchingBracketHighlighter }; |
25 | use rustyline::hint::{ Hinter, HistoryHinter }; | 28 | |
26 | use clap::{Arg, App}; | 29 | use clap::{Arg, App}; |
27 | use lazy_static::lazy_static; | 30 | use lazy_static::lazy_static; |
28 | 31 | ||