SiegeEngineers / genie-rs

Rust libraries for reading/writing various Age of Empires I/II files.
https://docs.rs/genie
GNU General Public License v3.0
18 stars 9 forks source link

Use From instead of Into to convert TechTreeDependencyType to i32 #49

Closed rnestler closed 2 years ago

rnestler commented 3 years ago

Implmenting From gives the Into implementation for free. Fixes a clippy issue.

simonsan commented 2 years ago

Thanks :)

rnestler commented 2 years ago

Hah already forgot about this one, nice that the project gets maintained again :)