pub fn remove_dir_contents<P: AsRef<Path>>(path: P) -> io::Result<()> {
    // This wrapper function exists because the core function
    // for Windows, in crate::fs, returns a PathBuf, which our
    // caller shouldn't see.
    _remove_dir_contents(path)?;
    Ok(())
}
/// Deletes the contents of `path`, but not the directory iteself.
///
/// If `path` is a symlink to a directory, deletes the contents
/// of that directory.  Fails if `path` does not exist.
Deletes the contents of `path`, but not the directory iteself.
If `path` is a symlink to a directory, deletes the contents
of that directory.  Fails if `path` does not exist.
Deletes the contents of ` path ` but not the directory iteself . If ` path ` is a symlink to a directory deletes the contents of that directory . Fails if ` path ` does not exist .
pub fn remove_dir_contents<P: AsRef<Path>>(path: P) -> io::Result<()> {
    // This wrapper function exists because the core function
    // for Windows, in crate::fs, returns a PathBuf, which our
    // caller shouldn't see.
    _remove_dir_contents(path)?;
    Ok(())
}
pub fn remove_dir_contents < P : AsRef < Path > > ( path : P ) -> io :: Result < ( ) > { // This wrapper function exists because the core function // for Windows, in crate::fs, returns a PathBuf, which our // caller shouldn't see. _remove_dir_contents ( path ) ? ; Ok ( ( ) ) }
Deletes the contents of `path`, but not the directory iteself.
Deletes the contents of ` path ` but not the directory iteself .
path
P