From 1953023566a5195d0c902f7d45232fd664d9c52d Mon Sep 17 00:00:00 2001 From: Micah Chalmer Date: Mon, 30 Sep 2013 19:30:23 -0400 Subject: [PATCH] Make default_stat public --- src/libstd/path.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libstd/path.rs b/src/libstd/path.rs index af2565ec67a36..5d932ca54b549 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -253,7 +253,7 @@ pub trait GenericPath : Clone + Eq + ToStr { #[cfg(target_os = "linux")] #[cfg(target_os = "android")] -mod stat { +pub mod stat { #[cfg(target_arch = "x86")] pub mod arch { use libc; @@ -373,7 +373,7 @@ mod stat { } #[cfg(target_os = "freebsd")] -mod stat { +pub mod stat { #[cfg(target_arch = "x86_64")] pub mod arch { use libc; @@ -408,7 +408,7 @@ mod stat { } #[cfg(target_os = "macos")] -mod stat { +pub mod stat { pub mod arch { use libc; @@ -442,7 +442,7 @@ mod stat { } #[cfg(target_os = "win32")] -mod stat { +pub mod stat { pub mod arch { use libc; pub fn default_stat() -> libc::stat {