mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-22 17:40:55 +00:00
The generated example code would clone the context. However as context is a generic type and is not declared to implement Clone, a clone of a reference is just a copy of the reference and therefore unnecessary. This change removes the redundant call and therefore avoids the `cargo clippy` warning.