about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-10-07 13:44:57 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-10-10 03:38:51 -0700
commit413747176c9ce52a87775175e096b3eca88e6b64 (patch)
tree71c7ff8faed9928c6e2341a44a0325393b985ab2 /src/libstd/rt
parent2290ce14f29450560cd34c219dbc8b6a10283967 (diff)
downloadrust-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.rs2
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