Updated examples with a few small changes to resolve warnings
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user