Skip to content

Commit

Permalink
stream: move Elapsed to the root
Browse files Browse the repository at this point in the history
Moved the Elapsed error to the root, un-deprecating it.

Ref: #6656
  • Loading branch information
sharpened-nacho committed Jul 2, 2024
1 parent 61bc618 commit d82b6b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tokio-stream/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ pub mod adapters {
cfg_time! {
#[deprecated = "Import those symbols from adapters instead"]
#[doc(hidden)]
pub use stream_ext::timeout::{Elapsed, Timeout};
pub use stream_ext::timeout::Timeout;
pub use stream_ext::timeout::Elapsed;
}

mod empty;
Expand Down

0 comments on commit d82b6b2

Please sign in to comment.