From bfa2bc60f69728cdb83490c708ce24f4fa978799 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Thu, 19 Nov 2020 09:58:22 +0100 Subject: [PATCH] made constants public again for testing --- cli/src/repl.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/src/repl.rs b/cli/src/repl.rs index 3f9c63b462..671d04de78 100644 --- a/cli/src/repl.rs +++ b/cli/src/repl.rs @@ -9,7 +9,7 @@ const BLUE: &str = "\u{001b}[36m"; const PINK: &str = "\u{001b}[35m"; const END_COL: &str = "\u{001b}[0m"; -const WELCOME_MESSAGE: &str = concatcp!( +pub const WELCOME_MESSAGE: &str = concatcp!( "\n The rockin’ ", BLUE, "roc repl", @@ -20,8 +20,8 @@ const WELCOME_MESSAGE: &str = concatcp!( END_COL, "\n\n" ); -const INSTRUCTIONS: &str = "Enter an expression, or :help, or :exit/:q.\n"; -const PROMPT: &str = concatcp!("\n", BLUE, "»", END_COL, " "); +pub const INSTRUCTIONS: &str = "Enter an expression, or :help, or :exit/:q.\n"; +pub const PROMPT: &str = concatcp!("\n", BLUE, "»", END_COL, " "); const ELLIPSIS: &str = concatcp!(BLUE, "…", END_COL, " "); mod eval;