Skip to content

Commit abd3608

Browse files
committed
Disable docs and Debug for unexposed structs
1 parent 94893d2 commit abd3608

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

src/stream/double_ended/nth_back.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ use std::task::{Context, Poll};
44

55
use crate::stream::DoubleEndedStream;
66

7+
#[doc(hidden)]
8+
#[allow(missing_debug_implementations)]
79
pub struct NthBackFuture<'a, S> {
810
stream: &'a mut S,
911
n: usize,

src/stream/double_ended/rfind.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ use std::pin::Pin;
44

55
use crate::stream::DoubleEndedStream;
66

7+
#[doc(hidden)]
8+
#[allow(missing_debug_implementations)]
79
pub struct RFindFuture<'a, S, P> {
810
stream: &'a mut S,
911
p: P,

src/stream/double_ended/rfold.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ use pin_project_lite::pin_project;
77
use crate::stream::DoubleEndedStream;
88

99
pin_project! {
10+
#[doc(hidden)]
11+
#[allow(missing_debug_implementations)]
1012
pub struct RFoldFuture<S, F, B> {
1113
#[pin]
1214
stream: S,

src/stream/double_ended/try_rfold.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use pin_project_lite::pin_project;
77
use crate::stream::DoubleEndedStream;
88

99
pin_project! {
10-
#[doc(hidden)]
11-
#[allow(missing_debug_implementations)]
10+
#[doc(hidden)]
11+
#[allow(missing_debug_implementations)]
1212
pub struct TryRFoldFuture<S, F, T> {
1313
#[pin]
1414
stream: S,

0 commit comments

Comments
 (0)