oof: fix an error when building for Windows

This commit is contained in:
Vinícius Rodrigues Miguel 2021-04-05 21:05:41 -03:00
parent a7a604de9b
commit 7b0864e8c4

View File

@ -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