chore: fix compiler warnings
This commit is contained in:
parent
3c3aa72dc8
commit
ffdd122bf8
14 changed files with 30 additions and 30 deletions
|
|
@ -97,7 +97,7 @@ impl<Message: Clone + 'static> Binder<Message> {
|
|||
}
|
||||
|
||||
/// Registers a new page in the settings panel.
|
||||
pub fn register<P: AutoBind<Message>>(&mut self) -> crate::Insert<Message> {
|
||||
pub fn register<P: AutoBind<Message>>(&mut self) -> crate::Insert<'_, Message> {
|
||||
let page = P::default();
|
||||
|
||||
let id = self.register_page(page);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue