//! This module contains the implementation of a Windows specific console TTY.
//! Also converts between UTF-16 and UTF-8. Windows has very poor support for
//! UTF-8 and some functions will fail. In particular ReadFile and ReadConsole
-//! will fail when the codepage is set to UTF-8 and a unicode character is
+//! will fail when the codepage is set to UTF-8 and a Unicode character is
//! entered.
//!
//! FIXME
utf16.as_mut_ptr() as LPVOID,
utf16.len() as u32,
&mut num as LPDWORD,
- ptr::mut_null()) } {
+ ptr::null_mut()) } {
0 => return Err(super::last_error()),
_ => (),
};
utf16.as_ptr() as LPCVOID,
utf16.len() as u32,
&mut num as LPDWORD,
- ptr::mut_null()) } {
+ ptr::null_mut()) } {
0 => Err(super::last_error()),
_ => Ok(()),
}