Fixed "(common)" tag not showing up as green.

This commit is contained in:
Hiers 2023-11-20 19:42:29 +00:00
parent ac5a961d8d
commit cb977989c6

View file

@ -282,7 +282,7 @@ fn format_result_tags(value: &Value) -> String {
let is_common_val = value.get("is_common");
if is_common_val.is_some() && value_to_bool(is_common_val.unwrap()) {
builder.push_str(&"(common) ".bright_green());
builder.push_str(&"(common) ".bright_green().to_string());
}
if let Some(jlpt) = value.get("jlpt") {