From 6ed405d71be1f0887101f4a444b0307c2ca74e56 Mon Sep 17 00:00:00 2001 From: NerdyPepper Date: Tue, 18 Jun 2019 16:24:57 +0530 Subject: add imports --- src/main.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') 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 @@ // std use std::f64; +use std::borrow::Cow::{self, Borrowed, Owned}; // modules mod lex; @@ -19,10 +20,12 @@ use crate::format::*; // extern crates use rustyline::error::ReadlineError; -use rustyline::Editor; +use rustyline::{ Editor, Context, Helper }; use rustyline::config::{ Builder, ColorMode, EditMode, CompletionType }; +use rustyline::hint::Hinter; +use rustyline::completion::{ FilenameCompleter, Completer, Pair }; use rustyline::highlight::{ Highlighter, MatchingBracketHighlighter }; -use rustyline::hint::{ Hinter, HistoryHinter }; + use clap::{Arg, App}; use lazy_static::lazy_static; -- cgit v1.2.3