bda6168900fabca6189f0aeee708440543abc3c6 — Tim Morgan 7 months ago 220b58a master
Fix warning
1 files changed, 1 insertions(+), 1 deletions(-)

M rust/src/readline.rs
M rust/src/readline.rs => rust/src/readline.rs +1 -1
@@ 9,7 9,7 @@ impl Readline {
      pub fn new(prompt: &str) -> Readline {
          let reader = Interface::new("mal").unwrap();
-         reader.set_prompt(prompt);
+         reader.set_prompt(prompt).expect("could not set prompt");
          reader.load_history(HISTORY_FILE).unwrap_or(());
          Readline { reader: reader }
      }