Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imp(macros.rs): Added write_nspaces macro (a new version of write_spa…
…ces) `write_nspaces` has three differences with `write_spaces` 1. Accepts arguments with attribute access (such as self.writer) 2. The order of the arguments is swapped to make the writer the first argument as in other write related macros. 3. Does not use the `write!` macro under the hood but rather calls directly `write` I have chosen to put the function under a new name to avoid backwards compatibility problem but it might be better to migrate everything to `write_nspaces` (and maybe rename it `write_spaces`)
- Loading branch information