]> git.lizzy.rs Git - rust.git/commitdiff
Fix doc build on unknown windows target
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 19 Jun 2018 22:04:59 +0000 (00:04 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 19 Jun 2018 22:07:41 +0000 (00:07 +0200)
src/libstd/sys/mod.rs

index 1231898ed7eba0051edc90b95fd0babf9ee7aece..b5bf4044be4d0ff77dbc13fbdc0708e9adb9c271 100644 (file)
@@ -67,6 +67,7 @@
         // (missing things in `libc` which is empty) so just omit everything
         // with an empty module
         #[unstable(issue = "0", feature = "std_internals")]
+        #[allow(missing_docs)]
         pub mod unix_ext {}
     } else {
         // On other platforms like Windows document the bare bones of unix
@@ -80,6 +81,7 @@ pub mod unix_ext {}
 cfg_if! {
     if #[cfg(windows)] {
         // On windows we'll just be documenting what's already available
+        #[allow(missing_docs)]
         pub use self::ext as windows_ext;
     } else if #[cfg(any(target_os = "cloudabi", target_arch = "wasm32"))] {
         // On CloudABI and wasm right now the shim below doesn't compile, so