Fix warnings
This commit is contained in:
parent
048498e39b
commit
6f39d49b18
3 changed files with 7 additions and 6 deletions
|
@ -615,8 +615,9 @@ pub(crate) mod test {
|
|||
Empty::new().into_any()
|
||||
}
|
||||
|
||||
fn focus_in(&mut self, _: AnyViewHandle, _: &mut ViewContext<Self>) {
|
||||
fn focus_in(&mut self, _: AnyViewHandle, cx: &mut ViewContext<Self>) {
|
||||
self.has_focus = true;
|
||||
cx.emit(TestPanelEvent::Focus);
|
||||
}
|
||||
|
||||
fn focus_out(&mut self, _: AnyViewHandle, _: &mut ViewContext<Self>) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue