File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 31
31
#[ macro_export]
32
32
macro_rules! unsafe_pinned {
33
33
( $f: tt: $t: ty) => (
34
- fn $f<' a >(
35
- self : & ' a mut $crate:: core_reexport:: mem:: PinMut <Self >
36
- ) -> $crate:: core_reexport:: mem:: PinMut <' a , $t> {
34
+ fn $f<' __a >(
35
+ self : & ' __a mut $crate:: core_reexport:: mem:: PinMut <Self >
36
+ ) -> $crate:: core_reexport:: mem:: PinMut <' __a , $t> {
37
37
unsafe {
38
38
$crate:: core_reexport:: mem:: PinMut :: map_unchecked(
39
39
self . reborrow( ) , |x| & mut x. $f
@@ -70,9 +70,9 @@ macro_rules! unsafe_pinned {
70
70
#[ macro_export]
71
71
macro_rules! unsafe_unpinned {
72
72
( $f: tt: $t: ty) => (
73
- fn $f<' a >(
74
- self : & ' a mut $crate:: core_reexport:: mem:: PinMut <Self >
75
- ) -> & ' a mut $t {
73
+ fn $f<' __a >(
74
+ self : & ' __a mut $crate:: core_reexport:: mem:: PinMut <Self >
75
+ ) -> & ' __a mut $t {
76
76
unsafe {
77
77
& mut $crate:: core_reexport:: mem:: PinMut :: get_mut_unchecked(
78
78
self . reborrow( )
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ pub struct TryNext<'a, St: 'a> {
15
15
16
16
impl < ' a , St : TryStream + Unpin > Unpin for TryNext < ' a , St > { }
17
17
18
- impl < ' b , St : TryStream + Unpin > TryNext < ' b , St > {
19
- pub ( super ) fn new ( stream : & ' b mut St ) -> Self {
18
+ impl < ' a , St : TryStream + Unpin > TryNext < ' a , St > {
19
+ pub ( super ) fn new ( stream : & ' a mut St ) -> Self {
20
20
TryNext { stream }
21
21
}
22
22
}
You can’t perform that action at this time.
0 commit comments