Skip to content

Commit 4137471

Browse files
committed
Make the file::DirectoryInfo trait public
This was just a mistake that it was hidden.
1 parent 2290ce1 commit 4137471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/rt/io/file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ impl FileInfo for Path { }
599599
/// else { fail2!("nope"); }
600600
/// }
601601
/// ```
602-
trait DirectoryInfo : FileSystemInfo {
602+
pub trait DirectoryInfo : FileSystemInfo {
603603
/// Whether the underlying implemention (be it a file path,
604604
/// or something else) is pointing at a directory in the underlying FS.
605605
/// Will return false for paths to non-existent locations or if the item is

0 commit comments

Comments
 (0)