Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

highlight formatting syntax in the macro families format, write, print, … #60

@flying-sheep

Description

@flying-sheep

syntax and macros are explained here.

format!      // described above
write!       // first argument is a &mut io::Write, the destination
writeln!     // same as write but appends a newline
print!       // the format string is printed to the standard output
println!     // same as print but appends a newline
format_args! // described below.

we could match all macro calls starting with format…, write…, and print…, so people can define their own, and maybe also the stuff from the log crate, i.e. log!, error!, warn!, debug!, info!, trace!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions