diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-07 13:44:57 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-10 03:38:51 -0700 |
| commit | 413747176c9ce52a87775175e096b3eca88e6b64 (patch) | |
| tree | 71c7ff8faed9928c6e2341a44a0325393b985ab2 /src/libstd/rt | |
| parent | 2290ce14f29450560cd34c219dbc8b6a10283967 (diff) | |
| download | rust-413747176c9ce52a87775175e096b3eca88e6b64.tar.gz rust-413747176c9ce52a87775175e096b3eca88e6b64.zip | |
Make the file::DirectoryInfo trait public
This was just a mistake that it was hidden.
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/io/file.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/io/file.rs b/src/libstd/rt/io/file.rs index a18eec8773e..3258c350cd0 100644 --- a/src/libstd/rt/io/file.rs +++ b/src/libstd/rt/io/file.rs @@ -599,7 +599,7 @@ impl FileInfo for Path { } /// else { fail2!("nope"); } /// } /// ``` -trait DirectoryInfo : FileSystemInfo { +pub trait DirectoryInfo : FileSystemInfo { /// Whether the underlying implemention (be it a file path, /// or something else) is pointing at a directory in the underlying FS. /// Will return false for paths to non-existent locations or if the item is |
