LL | | }
| |_____^ expected usize, found ()
|
- = note: expected type `usize`
- found unit type `()`
= note: `if` expressions without `else` evaluate to `()`
= help: consider adding an `else` block that evaluates to the expected type
LL | | };
| |_____^ expected usize, found ()
|
- = note: expected type `usize`
- found unit type `()`
= note: `if` expressions without `else` evaluate to `()`
= help: consider adding an `else` block that evaluates to the expected type
LL | | }
| |_____^ expected usize, found ()
|
- = note: expected type `usize`
- found unit type `()`
= note: `if` expressions without `else` evaluate to `()`
= help: consider adding an `else` block that evaluates to the expected type
LL | | }
| |_____^ expected usize, found ()
|
- = note: expected type `usize`
- found unit type `()`
= note: `if` expressions without `else` evaluate to `()`
= help: consider adding an `else` block that evaluates to the expected type
LL | | };
| |_____^ expected usize, found ()
|
- = note: expected type `usize`
- found unit type `()`
= note: `if` expressions without `else` evaluate to `()`
= help: consider adding an `else` block that evaluates to the expected type
LL | | }
| |_____^ expected usize, found ()
|
- = note: expected type `usize`
- found unit type `()`
= note: `if` expressions without `else` evaluate to `()`
= help: consider adding an `else` block that evaluates to the expected type