Fix clippy::semicolon_if_nothing_returned
This commit is contained in:
parent
9991052ce5
commit
34f07b6027
46 changed files with 108 additions and 108 deletions
|
|
@ -49,7 +49,7 @@ pub fn focus<T>(target: Id) -> impl Operation<T> {
|
|||
_bounds: Rectangle,
|
||||
operate_on_children: &mut dyn FnMut(&mut dyn Operation<T>),
|
||||
) {
|
||||
operate_on_children(self)
|
||||
operate_on_children(self);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ where
|
|||
_bounds: Rectangle,
|
||||
operate_on_children: &mut dyn FnMut(&mut dyn Operation<T>),
|
||||
) {
|
||||
operate_on_children(self)
|
||||
operate_on_children(self);
|
||||
}
|
||||
|
||||
fn finish(&self) -> Outcome<T> {
|
||||
|
|
@ -132,7 +132,7 @@ pub fn focus_previous<T>() -> impl Operation<T> {
|
|||
_bounds: Rectangle,
|
||||
operate_on_children: &mut dyn FnMut(&mut dyn Operation<T>),
|
||||
) {
|
||||
operate_on_children(self)
|
||||
operate_on_children(self);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -166,7 +166,7 @@ pub fn focus_next<T>() -> impl Operation<T> {
|
|||
_bounds: Rectangle,
|
||||
operate_on_children: &mut dyn FnMut(&mut dyn Operation<T>),
|
||||
) {
|
||||
operate_on_children(self)
|
||||
operate_on_children(self);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -193,7 +193,7 @@ pub fn find_focused() -> impl Operation<Id> {
|
|||
_bounds: Rectangle,
|
||||
operate_on_children: &mut dyn FnMut(&mut dyn Operation<Id>),
|
||||
) {
|
||||
operate_on_children(self)
|
||||
operate_on_children(self);
|
||||
}
|
||||
|
||||
fn finish(&self) -> Outcome<Id> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue