aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2019-06-18 11:54:57 +0100
committerNerdyPepper <[email protected]>2019-06-18 11:54:57 +0100
commit6ed405d71be1f0887101f4a444b0307c2ca74e56 (patch)
tree94ee8b3c267a03a7ee86a5f8ba921e3f07a6cdde /src
parent1a06f12da5e701b778009fc5c81db28f092fcede (diff)
add imports
Diffstat (limited to 'src')
-rw-r--r--src/main.rs7
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
8use std::f64; 8use std::f64;
9use std::borrow::Cow::{self, Borrowed, Owned};
9 10
10// modules 11// modules
11mod lex; 12mod lex;
@@ -19,10 +20,12 @@ use crate::format::*;
19 20
20// extern crates 21// extern crates
21use rustyline::error::ReadlineError; 22use rustyline::error::ReadlineError;
22use rustyline::Editor; 23use rustyline::{ Editor, Context, Helper };
23use rustyline::config::{ Builder, ColorMode, EditMode, CompletionType }; 24use rustyline::config::{ Builder, ColorMode, EditMode, CompletionType };
25use rustyline::hint::Hinter;
26use rustyline::completion::{ FilenameCompleter, Completer, Pair };
24use rustyline::highlight::{ Highlighter, MatchingBracketHighlighter }; 27use rustyline::highlight::{ Highlighter, MatchingBracketHighlighter };
25use rustyline::hint::{ Hinter, HistoryHinter }; 28
26use clap::{Arg, App}; 29use clap::{Arg, App};
27use lazy_static::lazy_static; 30use lazy_static::lazy_static;
28 31