Fix dependency_on_unit_never_type_fallback warning on latest Rustc
Apparently in Rust 2024, the inferred type here would be `!`, which doesn't implement `Default`. Explicitly use `()` instead. https://doc.rust-lang.org/nightly/edition-guide/rust-2024/never-type-fallback.html
This commit is contained in:
parent
c3f130e5bf
commit
1387535252
1 changed files with 1 additions and 1 deletions
|
|
@ -739,7 +739,7 @@ where
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
render_input_order(
|
render_input_order::<()>(
|
||||||
&*shell,
|
&*shell,
|
||||||
output,
|
output,
|
||||||
previous,
|
previous,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue