generated from GarandPLG/rust-flake-template
Rename internal helpers and adjust related calls
Rename `structure` to `s` in Structures and `unit` to `u` in Units, updating all call sites. Refactor `Structures::text` to match on the owner directly and push the owner line only for claimed owners. Change the “% )” token color in unit display from green to gray.
This commit is contained in:
1 parent
644d8648b2
commit
41020708e4
3 files changed
+29
-25
No files matched your search
@@ -40,7 +40,7 @@ pub trait Unit {
|
||||
max_hp.green(),
|
||||
" ( ".gray(),
|
||||
hp_percent.green(),
|
||||
"% )".green(),
|
||||
"% )".gray(),
|
||||
]),
|
||||
]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user