The send_command macro in SWHKD's daemon.rs component accepts expressions with the same datatype in all invocations. Moving it into a function helps language servers like Rust Analyzer make inferences easier because the expressions become concrete types.
The
send_command
macro in SWHKD'sdaemon.rs
component accepts expressions with the same datatype in all invocations. Moving it into a function helps language servers like Rust Analyzer make inferences easier because the expressions become concrete types.