File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
#![ feature( exhaustive_patterns) ]
2
+ #![ feature( generic_arg_infer) ]
2
3
#![ feature( must_not_suspend) ] // `must_not_suspend` lint
3
4
#![ feature( decl_macro) ] // `macro`
4
5
#![ feature( let_else) ] // `let ... = ... else { ... }`
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ impl ReadRtt {
322
322
Self {
323
323
options,
324
324
st : ReadRttSt :: Idle {
325
- buf : Box :: new ( [ 0u8 ; 1024 ] ) ,
325
+ buf : Box :: new ( [ 0u8 ; _ ] ) ,
326
326
session,
327
327
rtt : Box :: new ( rtt) ,
328
328
pos : 0 ,
Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ impl PicobootCmd {
514
514
_addr_size : PicobootCmdArgsAddrSize {
515
515
_addr : addr,
516
516
_size : size,
517
- _pad : [ 0 ; 8 ] ,
517
+ _pad : [ 0 ; _ ] ,
518
518
} ,
519
519
} ,
520
520
}
@@ -534,7 +534,7 @@ impl PicobootCmd {
534
534
_pc : pc,
535
535
_sp : sp,
536
536
_delay_ms : delay_ms,
537
- _pad : [ 0 ; 4 ] ,
537
+ _pad : [ 0 ; _ ] ,
538
538
} ,
539
539
} ,
540
540
}
You can’t perform that action at this time.
0 commit comments