1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-05-11 12:56:07 +02:00

feat: ui format

This commit is contained in:
honeywest 2024-03-21 15:18:50 +08:00
parent 9c6f56b836
commit e276c12192

View File

@ -1,5 +1,5 @@
macro_rules! print_emoji {
($emoji:expr, $sign:expr, $color: ident ,$fmt:literal, $ex:expr) => {{
($emoji:expr, $sign:expr, $color: ident, $fmt:literal, $ex:expr) => {{
use console::{style, Emoji};
use std::env;
let formatstr = format!($fmt, $ex);