/// # Examples
///
/// ```
+ /// # #![feature(ascii)]
/// use std::ascii::AsciiExt;
///
/// let mut ascii = 'a';
/// # Examples
///
/// ```
+ /// # #![feature(ascii)]
/// use std::ascii::AsciiExt;
///
/// let mut ascii = 'A';
use libc;
use libc::consts::os::extra::ERROR_CALL_NOT_IMPLEMENTED;
use ops::FnOnce;
- use os;
+ use sys::os;
use os::windows::prelude::*;
use option::Option::{self, Some, None};
use ptr;
use std::dynamic_lib::DynamicLibrary;
use std::os;
-use std::old_path::Path;
+use std::path::Path;
pub fn main() {
unsafe {
Self::Item: Deref,
<Self::Item as Deref>::Target: Clone,
{
- self.next().cloned()
+ self.next().map(|x| x.clone())
}
}