Skip to content

Commit 7da453f

Browse files
committed
fix CI detected typos in examples
1 parent 3a99628 commit 7da453f

File tree

2 files changed

+2
-2
lines changed
  • examples
    • custom_orientable/custom_orientable
    • custom_widget/ex_button

2 files changed

+2
-2
lines changed

examples/custom_orientable/custom_orientable/imp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ impl ObjectImpl for CustomOrientable {
6262
}
6363

6464
fn dispose(&self) {
65-
// Child widgets need to be manually unparented in `dispose()`.
65+
// Child widgets need to be manually un-parented in `dispose()`.
6666
if let Some(child) = self.first_label.borrow_mut().take() {
6767
child.unparent();
6868
}

examples/custom_widget/ex_button/imp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl ObjectImpl for ExButton {
6666
}
6767

6868
fn dispose(&self) {
69-
// Child widgets need to be manually unparented in `dispose()`.
69+
// Child widgets need to be manually un-parented in `dispose()`.
7070
if let Some(child) = self.child.borrow_mut().take() {
7171
child.unparent();
7272
}

0 commit comments

Comments
 (0)