mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
make results optional
This commit is contained in:
parent
89aed28056
commit
ad8ebe87e5
6 changed files with 27 additions and 23 deletions
|
|
@ -34,9 +34,9 @@ impl Subject {
|
|||
}
|
||||
|
||||
// Actions
|
||||
pub fn update(&self, title: GString, description: GString) {
|
||||
self.title.update(&title);
|
||||
self.description.update(&description);
|
||||
pub fn update(&self, title: Option<GString>, description: Option<GString>) {
|
||||
self.title.update(title);
|
||||
self.description.update(description);
|
||||
}
|
||||
|
||||
// Getters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue