1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-04-27 20:05:03 +02:00

Merge pull request #1907 from honeywest/feat/ui-format

feat: ui format
This commit is contained in:
Mo 2024-03-27 15:08:28 +01:00 committed by GitHub
commit 8e87c35c88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);