mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
remove extra references
This commit is contained in:
parent
07ee9cba07
commit
2d8b603b54
3 changed files with 5 additions and 5 deletions
|
|
@ -36,7 +36,7 @@ impl Status {
|
|||
/// Return `Self` reference to apply another functions in chain
|
||||
pub fn set_title(&self, value: &str) -> &Self {
|
||||
self.gobject.set_title(value);
|
||||
&self
|
||||
self
|
||||
}
|
||||
|
||||
/// Set new description for `Self`
|
||||
|
|
@ -46,7 +46,7 @@ impl Status {
|
|||
/// Return `Self` reference to apply another functions in chain
|
||||
pub fn set_description(&self, value: Option<&str>) -> &Self {
|
||||
self.gobject.set_description(value);
|
||||
&self
|
||||
self
|
||||
}
|
||||
|
||||
// Getters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue