File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#[ cfg( test) ]
22mod tests;
33
4- use crate :: alloc:: Allocator ;
4+ use crate :: alloc:: { Allocator , self } ;
55use crate :: cmp;
66use crate :: collections:: VecDeque ;
77use crate :: fmt;
@@ -419,7 +419,7 @@ where
419419#[ stable( feature = "vecdeque_read_write" , since = "1.63.0" ) ]
420420impl < A : Allocator , const _COOP_PREFERRED: bool > Read for VecDeque < u8 , A , _COOP_PREFERRED >
421421where
422- [ ( ) ; co_alloc_metadata_num_slots_with_preference :: < A > ( _COOP_PREFERRED) ] : ,
422+ [ ( ) ; alloc :: co_alloc_metadata_num_slots_with_preference :: < A > ( _COOP_PREFERRED) ] : ,
423423{
424424 /// Fill `buf` with the contents of the "front" slice as returned by
425425 /// [`as_slices`][`VecDeque::as_slices`]. If the contained byte slices of the `VecDeque` are
@@ -446,7 +446,7 @@ where
446446#[ stable( feature = "vecdeque_read_write" , since = "1.63.0" ) ]
447447impl < A : Allocator , const _COOP_PREFERRED: bool > Write for VecDeque < u8 , A , _COOP_PREFERRED >
448448where
449- [ ( ) ; co_alloc_metadata_num_slots_with_preference :: < A > ( _COOP_PREFERRED) ] : ,
449+ [ ( ) ; alloc :: co_alloc_metadata_num_slots_with_preference :: < A > ( _COOP_PREFERRED) ] : ,
450450{
451451 #[ inline]
452452 fn write ( & mut self , buf : & [ u8 ] ) -> io:: Result < usize > {
You can’t perform that action at this time.
0 commit comments