File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1+ #![ allow( clippy:: needless_doctest_main) ]
12//! External processor support
23//!
34//! Via the command line argument `--processors` you can instruct espflash to run external executables to pre-process
@@ -104,7 +105,7 @@ impl Processor {
104105 }
105106
106107 pub fn send ( & mut self , data : Vec < u8 > ) {
107- self . stdin . write ( & data) . ok ( ) ;
108+ let _ignored = self . stdin . write ( & data) . ok ( ) ;
108109 }
109110}
110111
@@ -128,7 +129,7 @@ impl ExternalProcessors {
128129
129130 let mut spawned = Vec :: new ( ) ;
130131 if let Some ( processors) = processors {
131- for processor in processors. split ( "," ) . into_iter ( ) {
132+ for processor in processors. split ( "," ) {
132133 let processor = std:: process:: Command :: new ( processor)
133134 . args ( args. clone ( ) )
134135 . stdin ( Stdio :: piped ( ) )
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ impl Drop for RawModeGuard {
6969}
7070
7171/// Open a serial monitor on the given serial port, using the given input parser.
72+ #[ allow( clippy:: too_many_arguments) ]
7273pub fn monitor (
7374 mut serial : Port ,
7475 elf : Option < & [ u8 ] > ,
You can’t perform that action at this time.
0 commit comments