From 7d1a2ed1cce8d2c6431ab19a3a6126d2e806440b Mon Sep 17 00:00:00 2001 From: Edwin Sutanto Date: Thu, 4 Oct 2018 15:07:29 +0700 Subject: [PATCH] Fix incomplete error message in strings.rs --- src/strings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strings.rs b/src/strings.rs index 511824d..4dfa764 100644 --- a/src/strings.rs +++ b/src/strings.rs @@ -57,7 +57,7 @@ pub fn from_utf16(value: &[u16]) -> Result { OsString::from_wide(value) .into_string() - .map_err(|_| io::Error::new(io::ErrorKind::Other, "Could convert from utf16")) + .map_err(|_| io::Error::new(io::ErrorKind::Other, "Could not convert from utf16")) } pub fn to_u16s>(s: S) -> Vec {