Crate printrn

Source

Macrosยง

formatr
formats a string like format!(), but replaces every \n with \r\n.
formatrn
formats a string like format!(), but replaces every \n with \r\n, and appends \r\n to the end.
printr
prints line(s) like print!(), but replaces every \n with \r\n Supports formatting strings. See println documentation for how to use this.
printrn
prints line(s) like println!(), but replaces every \n with \r\n, with another \r\n appended to the end. Supports formatting strings. See println documentation for how to use this.