Fix clippy::too_long_first_doc_paragraph warnings

This commit is contained in:
Christian Poveda 2025-03-24 11:28:02 -05:00
parent e3e07b796b
commit 31a68def9a
No known key found for this signature in database
GPG Key ID: 3B422F347D81A9E8
2 changed files with 3 additions and 2 deletions

View File

@ -587,7 +587,8 @@ pub struct OldestOrderedInner<'a, T, S: HistBufStorage<T> + ?Sized> {
}
/// Double ended iterator on the underlying buffer ordered from the oldest data
/// to the newest
/// to the newest.
///
/// This type exists for backwards compatibility. It is always better to convert it to an [`OldestOrderedView`] with [`into_view`](OldestOrdered::into_view)
pub type OldestOrdered<'a, T, const N: usize> =
OldestOrderedInner<'a, T, OwnedHistBufStorage<T, N>>;

View File

@ -140,7 +140,7 @@
),
feature(integer_atomics)
)]
#![warn(clippy::use_self)]
#![warn(clippy::use_self, clippy::too_long_first_doc_paragraph)]
pub use binary_heap::BinaryHeap;
pub use deque::Deque;