E.g. printing ty::Slice(ty) uses:
p!(write("["), print(ty), write("]"))
but we could allow writing it like this, by letting the macro use $...:literal:
But I'm not sure the macro can handle it easily.
Maybe we should just have Print implemented for more types and just make p!(a, b, c) print a, b and c (and we can then rename it to print!).
This issue has been assigned to @jakevossen5 via this comment.
E.g. printing
ty::Slice(ty)uses:but we could allow writing it like this, by letting the macro use
$...:literal:But I'm not sure the macro can handle it easily.
Maybe we should just have
Printimplemented for more types and just makep!(a, b, c)printa,bandc(and we can then rename it toprint!).This issue has been assigned to @jakevossen5 via this comment.