KZGlobalTeam / cs2kz-api

Backend infrastructure for CS2KZ
https://api.cs2kz.org
GNU General Public License v3.0
18 stars 3 forks source link

cs2kz: Respect `#` sigil when debug printing `Mode` #96

Closed AlphaKeks closed 3 months ago

AlphaKeks commented 3 months ago

Previously, cs2kz::Mode would be debug-formatted using its full name, i.e. Vanilla / Classic.

This commit changes this to use an abbreviated form instead. The previous long form can be opted into using the # sigil ("pretty printing").