diff options
| author | Wim Looman <git@nemo157.com> | 2020-11-04 22:58:37 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-10-05 18:15:29 +0200 |
| commit | 0031ce3a91d8e00691d09fcfca3164bc906f69af (patch) | |
| tree | d4c46d8429f55026d7630f80cc4156056587769c /library/std/src/os/windows | |
| parent | 18fdd816b72cbf1547efbb81f164f7a457f17b78 (diff) | |
| download | rust-0031ce3a91d8e00691d09fcfca3164bc906f69af.tar.gz rust-0031ce3a91d8e00691d09fcfca3164bc906f69af.zip | |
Suppress some cfg from being shown in the stdlib docs
Diffstat (limited to 'library/std/src/os/windows')
| -rw-r--r-- | library/std/src/os/windows/raw.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/os/windows/raw.rs b/library/std/src/os/windows/raw.rs index 5014e008eb5..0ef3adade5c 100644 --- a/library/std/src/os/windows/raw.rs +++ b/library/std/src/os/windows/raw.rs @@ -7,8 +7,10 @@ use crate::os::raw::c_void; #[stable(feature = "raw_ext", since = "1.1.0")] pub type HANDLE = *mut c_void; #[cfg(target_pointer_width = "32")] +#[doc(cfg(all()))] #[stable(feature = "raw_ext", since = "1.1.0")] pub type SOCKET = u32; #[cfg(target_pointer_width = "64")] +#[doc(cfg(all()))] #[stable(feature = "raw_ext", since = "1.1.0")] pub type SOCKET = u64; |
