More best practice way

This commit is contained in:
Pcornat 2022-11-28 21:02:36 +01:00
parent 1cff8df36b
commit 281e4eb9f0
Signed by: Pcornat
GPG Key ID: 2F3932FF46D9ECA0

View File

@ -95,7 +95,7 @@ impl SheetGui for CharacterSheet {
ui.label("Matériel"); ui.label("Matériel");
ui.add(DragValue::new(&mut materiel)); ui.add(DragValue::new(&mut materiel));
}); });
return (base, carac, materiel); (base, carac, materiel)
} }
fn gui_address(&mut self, ui: &mut Ui) { fn gui_address(&mut self, ui: &mut Ui) {