Fixup docs

This commit is contained in:
Caleb Jamison 2024-01-31 16:28:06 -05:00
parent 8b7d856195
commit 0ab0b5590a

View File

@ -8,7 +8,7 @@ use futures_util::{pin_mut, Stream};
use crate::{Duration, Instant}; use crate::{Duration, Instant};
/// Error returned by [`with_timeout`] and [`timeout_at`] on timeout. /// Error returned by [`with_timeout`] and [`with_deadline`] on timeout.
#[derive(Debug, Clone, PartialEq, Eq)] #[derive(Debug, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))] #[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct TimeoutError; pub struct TimeoutError;