File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,13 +49,13 @@ extension_trait! {
4949
5050 let mut s = Sample::from(vec![7u8]);
5151
52- assert_eq!(s.next ().await, Some(7));
53- assert_eq!(s.next ().await, None);
52+ assert_eq!(s.next_back ().await, Some(7));
53+ assert_eq!(s.next_back ().await, None);
5454 #
5555 # }) }
5656 ```
5757 "# ]
58- fn next ( & mut self ) -> impl Future <Output = Option <Self :: Item >> + ' _ [ NextBackFuture <' _, Self >]
58+ fn next_back ( & mut self ) -> impl Future <Output = Option <Self :: Item >> + ' _ [ NextBackFuture <' _, Self >]
5959 where
6060 Self : Unpin ,
6161 {
Original file line number Diff line number Diff line change 1+ use std:: future:: Future ;
12use std:: pin:: Pin ;
23use std:: task:: { Context , Poll } ;
3- use std:: future:: Future ;
44
55use crate :: stream:: DoubleEndedStream ;
66
You can’t perform that action at this time.
0 commit comments