From 0156d82afb13a2edbc6e0a5aad39b9317c204360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 30 Oct 2024 15:04:18 +0100 Subject: [PATCH] windows_msvc port --- src/windows_msvc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows_msvc.rs b/src/windows_msvc.rs index b0d9dd1..8560a62 100644 --- a/src/windows_msvc.rs +++ b/src/windows_msvc.rs @@ -36,7 +36,7 @@ impl ResourceCompiler { macros) .arg(resource) .status() - .map_err(|_| "Are you sure you have RC.EXE in your $PATH?".into())? + .map_err(|_| Cow::from("Are you sure you have RC.EXE in your $PATH?"))? .success() { return Err("RC.EXE failed to compile specified resource file".into()); }