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 committed Sep 21, 2024
1 parent 48cdbd2 commit 38ece75
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 38ece75

Please sign in to comment.