From e42da901a8f1192aa66ee8d8fbf3ebd9ade95062 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 18 Oct 2017 18:39:44 +0200 Subject: [PATCH] Fix doc build on other architectures than linux --- src/libstd/os/linux/fs.rs | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/libstd/os/linux/fs.rs b/src/libstd/os/linux/fs.rs index a406bff92c2..5d37d970e89 100644 --- a/src/libstd/os/linux/fs.rs +++ b/src/libstd/os/linux/fs.rs @@ -34,7 +34,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -56,7 +56,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -73,7 +73,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -90,7 +90,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -107,7 +107,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -124,7 +124,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -141,7 +141,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -158,7 +158,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -178,7 +178,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -195,7 +195,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -212,7 +212,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -229,7 +229,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -246,7 +246,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -263,7 +263,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -280,7 +280,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -297,7 +297,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> { @@ -314,7 +314,7 @@ pub trait MetadataExt { /// /// ``` /// use std::fs; - /// use std::os::unix::prelude::*; + /// use std::os::linux::fs::MetadataExt; /// /// # use std::io; /// # fn f() -> io::Result<()> {