Fix some stuff for Rust 2018

This commit is contained in:
Roey Darwish Dror
2018-08-22 10:43:32 +03:00
parent 2802679939
commit 056a49bc50
2 changed files with 7 additions and 7 deletions

View File

@@ -28,7 +28,7 @@ where
Self: Sized,
{
fn if_exists(self) -> Option<Self>;
fn is_descendant_of(&self, &Path) -> bool;
fn is_descendant_of(&self, ancestor: &Path) -> bool;
}
impl PathExt for PathBuf {