Updated examples with a few small changes to resolve warnings

This commit is contained in:
2025-08-12 21:12:54 -04:00
parent 1e590597f3
commit e0cf149790
4 changed files with 14 additions and 16 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ impl Context {
}
}
pub fn get_widgets(&self) -> MutexGuard<Vec<Arc<Widget>>> {
pub fn get_widgets(&'_ self) -> MutexGuard<'_, Vec<Arc<Widget>>> {
self.screen.widgets.lock().unwrap()
}