File tree 2 files changed +0
-10
lines changed
2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,6 @@ use core::{
12
12
/// This custom trait object was introduced for two reasons:
13
13
/// - Currently it is not possible to take `dyn Trait` by value and
14
14
/// `Box<dyn Trait>` is not available in no_std contexts.
15
- /// - The `Future` trait is currently not object safe: The `Future::poll`
16
- /// method makes uses the arbitrary self types feature and traits in which
17
- /// this feature is used are currently not object safe due to current compiler
18
- /// limitations. (See tracking issue for arbitrary self types for more
19
- /// information #44874)
20
15
pub struct LocalFutureObj < ' a , T > {
21
16
ptr : * mut ( ) ,
22
17
poll_fn : unsafe fn ( * mut ( ) , & LocalWaker ) -> Poll < T > ,
Original file line number Diff line number Diff line change @@ -11,11 +11,6 @@ use core::pin::Pin;
11
11
/// This custom trait object was introduced for two reasons:
12
12
/// - Currently it is not possible to take `dyn Trait` by value and
13
13
/// `Box<dyn Trait>` is not available in no_std contexts.
14
- /// - The `Stream` trait is currently not object safe: The `Stream::poll_next`
15
- /// method makes uses the arbitrary self types feature and traits in which
16
- /// this feature is used are currently not object safe due to current compiler
17
- /// limitations. (See tracking issue for arbitrary self types for more
18
- /// information #44874)
19
14
pub struct LocalStreamObj < ' a , T > {
20
15
ptr : * mut ( ) ,
21
16
poll_next_fn : unsafe fn ( * mut ( ) , & LocalWaker ) -> Poll < Option < T > > ,
You can’t perform that action at this time.
0 commit comments