From 7b0864e8c46193f5624ff85026f278ac1975a5d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Rodrigues=20Miguel?= Date: Mon, 5 Apr 2021 21:05:41 -0300 Subject: [PATCH] oof: fix an error when building for Windows --- oof/src/flags.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oof/src/flags.rs b/oof/src/flags.rs index 571713c..b31a8d6 100644 --- a/oof/src/flags.rs +++ b/oof/src/flags.rs @@ -91,7 +91,7 @@ impl FlagType { #[cfg(target_family = "windows")] { use std::os::windows::ffi::OsStrExt; - iter = text.encode_wide + iter = text.encode_wide(); } // 45 is the code for a hyphen