Skip to content

Commit

Permalink
Suppress compiler warnings, due to never type (!)
Browse files Browse the repository at this point in the history
As per <rust-lang/rust#123748>
! will no longer degrades into () which in this situation
breaks type deduction; so specify it explicitly.
  • Loading branch information
loops authored and wez committed Sep 22, 2024
1 parent d48e992 commit 2b76c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/src/lua.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ end
"#,
)
.set_name("=searcher")
.eval()
.eval::<()>()
.context("replace package.searchers")?;

wezterm_mod.set(
Expand Down

0 comments on commit 2b76c63

Please sign in to comment.