Skip to content
Snippets Groups Projects
Commit db670042 authored by Diana Tikhonova's avatar Diana Tikhonova Committed by Dmitry Rodionov
Browse files

using to_string() instead of formatting LUA and SQL PROMPT

parent 16ac8475
No related branches found
No related tags found
1 merge request!1435changed picodata> prompt prefix to sql> and lua>
......@@ -280,8 +280,8 @@ impl<T: Helper> Console<T> {
};
} else {
base_prompt = match self.current_language {
ConsoleLanguage::Lua => format!("{}", Self::LUA_PROMPT),
ConsoleLanguage::Sql => format!("{}", Self::SQL_PROMPT),
ConsoleLanguage::Lua => Self::LUA_PROMPT.to_string(),
ConsoleLanguage::Sql => Self::SQL_PROMPT.to_string(),
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment