Skip to content

Commit 31a68de

Browse files
committed
Fix clippy::too_long_first_doc_paragraph warnings
1 parent e3e07b7 commit 31a68de

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/histbuf.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,8 @@ pub struct OldestOrderedInner<'a, T, S: HistBufStorage<T> + ?Sized> {
587587
}
588588

589589
/// Double ended iterator on the underlying buffer ordered from the oldest data
590-
/// to the newest
590+
/// to the newest.
591+
///
591592
/// This type exists for backwards compatibility. It is always better to convert it to an [`OldestOrderedView`] with [`into_view`](OldestOrdered::into_view)
592593
pub type OldestOrdered<'a, T, const N: usize> =
593594
OldestOrderedInner<'a, T, OwnedHistBufStorage<T, N>>;

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
),
141141
feature(integer_atomics)
142142
)]
143-
#![warn(clippy::use_self)]
143+
#![warn(clippy::use_self, clippy::too_long_first_doc_paragraph)]
144144

145145
pub use binary_heap::BinaryHeap;
146146
pub use deque::Deque;

0 commit comments

Comments
 (0)