mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-04-27 03:04:30 +00:00
5732e2758f
Rust docs for `ToString` explicitly recommend implementing `Display`: > This trait is automatically implemented for any type which implements the Display trait. As such, ToString shouldn’t be implemented directly: Display should be implemented instead, and you get the ToString implementation for free. See: https://doc.rust-lang.org/std/string/trait.ToString.html See: https://github.com/Nitrokey/nethsm-sdk-rs/pull/33 Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>