fix: disable clippy warning
This commit is contained in:
parent
9059dcb4c1
commit
bd4ae0f8aa
|
@ -29,6 +29,7 @@ use crate::{error_eprintln, info_println, warn_eprintln};
|
||||||
|
|
||||||
const LINUX_SERVICE_NAME: &str = "espanso";
|
const LINUX_SERVICE_NAME: &str = "espanso";
|
||||||
const LINUX_SERVICE_CONTENT: &str = include_str!("../../res/linux/systemd.service");
|
const LINUX_SERVICE_CONTENT: &str = include_str!("../../res/linux/systemd.service");
|
||||||
|
#[allow(clippy::transmute-bytes-to-str)]
|
||||||
const LINUX_SERVICE_FILENAME: &str = formatcp!("{}.service", LINUX_SERVICE_NAME);
|
const LINUX_SERVICE_FILENAME: &str = formatcp!("{}.service", LINUX_SERVICE_NAME);
|
||||||
|
|
||||||
pub fn register() -> Result<()> {
|
pub fn register() -> Result<()> {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user