mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
update comments
This commit is contained in:
parent
931dc1cfc2
commit
da1c8d1da3
2 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ pub struct Widget {
|
||||||
impl Widget {
|
impl Widget {
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
/// Create new default widget configuration
|
/// Create new default widget configuration with options
|
||||||
pub fn new(title: Option<&str>, description: Option<&str>) -> Self {
|
pub fn new(title: Option<&str>, description: Option<&str>) -> Self {
|
||||||
let gobject = StatusPage::new();
|
let gobject = StatusPage::new();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ pub struct Widget {
|
||||||
impl Widget {
|
impl Widget {
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
/// Create new default widget configuration
|
/// Create new default widget configuration with options
|
||||||
pub fn new(title: Option<&str>, description: Option<&str>) -> Self {
|
pub fn new(title: Option<&str>, description: Option<&str>) -> Self {
|
||||||
let gobject = StatusPage::builder()
|
let gobject = StatusPage::builder()
|
||||||
.child(
|
.child(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue