From bd4ae0f8aa3b87310995e75cf14e31e481334e0e Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Mon, 6 Jun 2022 21:55:39 +0200 Subject: [PATCH] fix: disable clippy warning --- espanso/src/cli/service/linux.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/espanso/src/cli/service/linux.rs b/espanso/src/cli/service/linux.rs index 55ce07e..805a7de 100644 --- a/espanso/src/cli/service/linux.rs +++ b/espanso/src/cli/service/linux.rs @@ -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<()> {