fix: disable clippy warning

This commit is contained in:
Federico Terzi 2022-06-06 21:55:39 +02:00
parent 9059dcb4c1
commit bd4ae0f8aa

View File

@ -29,6 +29,7 @@ use crate::{error_eprintln, info_println, warn_eprintln};
const LINUX_SERVICE_NAME: &str = "espanso";
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);
pub fn register() -> Result<()> {