Skip to content

Commit 576e704

Browse files
committed
move doc(hidden)
i forgot that `#![doc(hidden)]` applies to the module, not everything in it... again. (this caused linkchecker to fail, because of a debug impl)
1 parent 7a53508 commit 576e704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ops/index_range.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![unstable(feature = "std_internals", issue = "none")]
2-
#![doc(hidden)]
32
use crate::iter::{FusedIterator, TrustedLen};
43
use crate::num::NonZero;
54
use crate::ub_checks;
@@ -11,6 +10,7 @@ use crate::ub_checks;
1110
/// (Normal `Range` code needs to handle degenerate ranges like `10..0`,
1211
/// which takes extra checks compared to only handling the canonical form.)
1312
#[derive(Clone, Debug, PartialEq, Eq)]
13+
#[doc(hidden)]
1414
pub struct IndexRange {
1515
start: usize,
1616
end: usize,

0 commit comments

Comments
 (0)