mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 14:57:32 -05:00
feat: ui format
This commit is contained in:
parent
9c6f56b836
commit
e276c12192
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
macro_rules! print_emoji {
|
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 console::{style, Emoji};
|
||||||
use std::env;
|
use std::env;
|
||||||
let formatstr = format!($fmt, $ex);
|
let formatstr = format!($fmt, $ex);
|
||||||
|
|
Loading…
Reference in a new issue