diff options
author | Jérémie Lawson <jeremielate@gmail.com> | 2017-07-06 16:05:56 +0300 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2017-07-15 20:09:58 +0300 |
commit | 86238d6dde441380d3f7a0b9fc6834b5bae187b6 (patch) | |
tree | 917bd0da1eb3a378d38f5e59c80ef95d175f673d | |
parent | f4de7b969ad46f32f92d15790909771dbbd1163e (diff) |
Removed is_same_file deprecated function.
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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; |