The std::fmt docs currently say about the write! macro:
Under the hood, this function is actually invoking the write function defined in this module.
But in fact, write! is defined as calling the write_fmt method on its argument, as per its documentation.
The
std::fmtdocs currently say about thewrite!macro:But in fact,
write!is defined as calling thewrite_fmtmethod on its argument, as per its documentation.