Skip to content

Commit d259f43

Browse files
Fix doc build on unknown windows target
1 parent d692ab4 commit d259f43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/libstd/sys/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ cfg_if! {
6767
// (missing things in `libc` which is empty) so just omit everything
6868
// with an empty module
6969
#[unstable(issue = "0", feature = "std_internals")]
70+
#[allow(missing_docs)]
7071
pub mod unix_ext {}
7172
} else {
7273
// On other platforms like Windows document the bare bones of unix
@@ -80,6 +81,7 @@ cfg_if! {
8081
cfg_if! {
8182
if #[cfg(windows)] {
8283
// On windows we'll just be documenting what's already available
84+
#[allow(missing_docs)]
8385
pub use self::ext as windows_ext;
8486
} else if #[cfg(any(target_os = "cloudabi", target_arch = "wasm32"))] {
8587
// On CloudABI and wasm right now the shim below doesn't compile, so

0 commit comments

Comments
 (0)