mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-22 09:22:03 +00:00
329711db3b
Using the method `debug_struct()` of `fmt::Formatter` takes care of the exact formatting for us. Additionally, it also handles the "alternate" form of printing enabled with '#'. In the struct case it prints the struct on multiple lines instead of just one. This commit also changes the output slightly. Before, the field `log_level` was printed with `log: {}`. This commit replaces "log" with "log_level". Additionally, the value of `environment` is now printed as a struct field instead of being combined with the struct name. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |