update comments

This commit is contained in:
yggverse 2024-10-29 01:29:40 +02:00
parent 931dc1cfc2
commit da1c8d1da3
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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(