Skip to content

Commit 24295bf

Browse files
Disable doc(auto_cfg) for integers trait impls
1 parent 9df8317 commit 24295bf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

library/core/src/fmt/num.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,13 +594,15 @@ impl_Debug! {
594594
// Include wasm32 in here since it doesn't reflect the native pointer size, and
595595
// often cares strongly about getting a smaller code size.
596596
#[cfg(any(target_pointer_width = "64", target_arch = "wasm32"))]
597+
#[doc(auto_cfg = false)]
597598
mod imp {
598599
use super::*;
599600
impl_Display!(i8, u8, i16, u16, i32, u32, i64, u64, isize, usize; as u64 into display_u64);
600601
impl_Exp!(i8, u8, i16, u16, i32, u32, i64, u64, isize, usize; as u64 into exp_u64);
601602
}
602603

603604
#[cfg(not(any(target_pointer_width = "64", target_arch = "wasm32")))]
605+
#[doc(auto_cfg = false)]
604606
mod imp {
605607
use super::*;
606608
impl_Display!(i8, u8, i16, u16, i32, u32, isize, usize; as u32 into display_u32);

0 commit comments

Comments
 (0)