@@ -563,7 +563,7 @@ let iface = builder.finalize(&mut device);
563563 /// [neighbor_cache]: #method.neighbor_cache
564564 pub fn finalize < D > ( self , device : & mut D ) -> Interface < ' a >
565565 where
566- D : for < ' d > Device < ' d > + ?Sized ,
566+ D : Device + ?Sized ,
567567 {
568568 let caps = device. capabilities ( ) ;
569569
@@ -905,7 +905,7 @@ impl<'a> Interface<'a> {
905905 timestamp : Instant ,
906906 ) -> Result < bool >
907907 where
908- D : for < ' d > Device < ' d > + ?Sized ,
908+ D : Device + ?Sized ,
909909 {
910910 self . inner . now = timestamp;
911911
@@ -947,7 +947,7 @@ impl<'a> Interface<'a> {
947947 timestamp : Instant ,
948948 ) -> Result < bool >
949949 where
950- D : for < ' d > Device < ' d > + ?Sized ,
950+ D : Device + ?Sized ,
951951 {
952952 self . inner . now = timestamp;
953953
@@ -1047,7 +1047,7 @@ impl<'a> Interface<'a> {
10471047 sockets : & mut SocketSet < ' _ > ,
10481048 ) -> Result < bool >
10491049 where
1050- D : for < ' d > Device < ' d > + ?Sized ,
1050+ D : Device + ?Sized ,
10511051 {
10521052 self . inner . now = timestamp;
10531053
@@ -1152,7 +1152,7 @@ impl<'a> Interface<'a> {
11521152
11531153 fn socket_ingress < D > ( & mut self , device : & mut D , sockets : & mut SocketSet < ' _ > ) -> bool
11541154 where
1155- D : for < ' d > Device < ' d > + ?Sized ,
1155+ D : Device + ?Sized ,
11561156 {
11571157 let mut processed_any = false ;
11581158 let Self {
@@ -1208,7 +1208,7 @@ impl<'a> Interface<'a> {
12081208
12091209 fn socket_egress < D > ( & mut self , device : & mut D , sockets : & mut SocketSet < ' _ > ) -> bool
12101210 where
1211- D : for < ' d > Device < ' d > + ?Sized ,
1211+ D : Device + ?Sized ,
12121212 {
12131213 let Self {
12141214 inner,
@@ -1318,7 +1318,7 @@ impl<'a> Interface<'a> {
13181318 #[ cfg( feature = "proto-igmp" ) ]
13191319 fn igmp_egress < D > ( & mut self , device : & mut D ) -> Result < bool >
13201320 where
1321- D : for < ' d > Device < ' d > + ?Sized ,
1321+ D : Device + ?Sized ,
13221322 {
13231323 match self . inner . igmp_report_state {
13241324 IgmpReportState :: ToSpecificQuery {
@@ -1384,7 +1384,7 @@ impl<'a> Interface<'a> {
13841384 #[ cfg( feature = "proto-ipv4-fragmentation" ) ]
13851385 fn ipv4_egress < D > ( & mut self , device : & mut D ) -> Result < bool >
13861386 where
1387- D : for < ' d > Device < ' d > + ?Sized ,
1387+ D : Device + ?Sized ,
13881388 {
13891389 // Reset the buffer when we transmitted everything.
13901390 if self . out_packets . ipv4_out_packet . finished ( ) {
@@ -1422,7 +1422,7 @@ impl<'a> Interface<'a> {
14221422 #[ cfg( feature = "proto-sixlowpan-fragmentation" ) ]
14231423 fn sixlowpan_egress < D > ( & mut self , device : & mut D ) -> Result < bool >
14241424 where
1425- D : for < ' d > Device < ' d > + ?Sized ,
1425+ D : Device + ?Sized ,
14261426 {
14271427 // Reset the buffer when we transmitted everything.
14281428 if self . out_packets . sixlowpan_out_packet . finished ( ) {
0 commit comments