summaryrefslogtreecommitdiffstats
path: root/src/dir.rs
diff options
context:
space:
mode:
authorEirik Schwenke <eirik@schwenke.info>2015-03-22 08:48:05 +0100
committerEirik Schwenke <eirik@schwenke.info>2015-03-22 08:48:05 +0100
commit30a48e05c22f2fbfde563a2ea87f50da7bb4d102 (patch)
treec630e23080e3318c9232c4137c9818cdd70410e3 /src/dir.rs
parent640949934e9bc2ef91176263a7cc8e6b636062cf (diff)
Apparently std::os::unix::osStrExt is now std::os::unix::ffi::OsStrExt.
Diffstat (limited to 'src/dir.rs')
-rw-r--r--src/dir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dir.rs b/src/dir.rs
index 77be8ff..f6b5445 100644
--- a/src/dir.rs
+++ b/src/dir.rs
@@ -84,7 +84,7 @@ impl Git {
/// Discover a Git repository on or above this directory, scanning it for
/// the files' statuses if one is found.
fn scan(path: &Path) -> Result<Git, git2::Error> {
- use std::os::unix::OsStrExt;
+ use std::os::unix::ffi::OsStrExt;
use std::ffi::AsOsStr;
// TODO: libgit2-rs uses the new Path module, but exa still uses the