mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
update comments
This commit is contained in:
parent
931dc1cfc2
commit
da1c8d1da3
@ -7,7 +7,7 @@ pub struct Widget {
|
||||
impl Widget {
|
||||
// Constructors
|
||||
|
||||
/// Create new default widget configuration
|
||||
/// Create new default widget configuration with options
|
||||
pub fn new(title: Option<&str>, description: Option<&str>) -> Self {
|
||||
let gobject = StatusPage::new();
|
||||
|
||||
|
@ -10,7 +10,7 @@ pub struct Widget {
|
||||
impl Widget {
|
||||
// Constructors
|
||||
|
||||
/// Create new default widget configuration
|
||||
/// Create new default widget configuration with options
|
||||
pub fn new(title: Option<&str>, description: Option<&str>) -> Self {
|
||||
let gobject = StatusPage::builder()
|
||||
.child(
|
||||
|
Loading…
x
Reference in New Issue
Block a user