goaaats / xivlauncher-neo

XIVLauncher: The Next Degeneration
GNU General Public License v3.0
15 stars 7 forks source link

Small style + clippy changes #6

Closed fitzchivalrik closed 2 years ago

fitzchivalrik commented 2 years ago

I thought that the sooner small style and clippy::pedantic inconsistencies are dealt with, the easier it will be in the long run.
This is of course assuming that XIVLauncher-Neo wants to follow the default style guide.

Furthermore, I changed the statics in the xl::game::constants module from static to constants. Statics in rust are for data which must be always at the same memory location, constants is for data which can be safely moved around. With the module naming and the types, I felt that const is more appropriate.