Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/walkdir.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémie Lawson <jeremielate@gmail.com>2017-07-06 16:05:56 +0300
committerAndrew Gallant <jamslam@gmail.com>2017-07-15 20:09:58 +0300
commit86238d6dde441380d3f7a0b9fc6834b5bae187b6 (patch)
tree917bd0da1eb3a378d38f5e59c80ef95d175f673d
parentf4de7b969ad46f32f92d15790909771dbbd1163e (diff)
Removed is_same_file deprecated function.
-rw-r--r--src/lib.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib.rs b/src/lib.rs
index dad0414..757e56c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -122,12 +122,7 @@ use std::path::{Path, PathBuf};
use std::result;
use std::vec;
-#[deprecated(since="1.0.7", note="please use `is_same_file` from `same_file` crate instead.")]
-pub fn is_same_file<P, Q>( path1: P, path2: Q)
- -> io::Result<bool> where P: AsRef<Path>, Q: AsRef<Path> {
- use same_file::is_same_file;
- is_same_file(path1, path2)
-}
+use same_file::is_same_file;
#[cfg(test)] mod tests;