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