proper library setup
This commit is contained in:
parent
5d30ca51ed
commit
f630d138cb
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ pub mod reader;
|
|||
pub mod types;
|
||||
use types::*;
|
||||
|
||||
pub fn main() -> Result<()> {
|
||||
fn main() -> Result<()> {
|
||||
let mut rl = Editor::<(), rustyline::history::DefaultHistory>::new().unwrap();
|
||||
if rl.load_history(".mal-history").is_err() {
|
||||
eprintln!("No previous history.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue