File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ #![ deny( rust_2018_idioms) ]
2+
13/// This is a small client program intended to pair with `remote-test-server` in
24/// this repository. This client connects to the server over TCP and is used to
35/// push artifacts and run tests on the server instead of locally.
@@ -15,7 +17,7 @@ use std::process::{Command, Stdio};
1517use std:: thread;
1618use std:: time:: Duration ;
1719
18- const REMOTE_ADDR_ENV : & ' static str = "TEST_DEVICE_ADDR" ;
20+ const REMOTE_ADDR_ENV : & str = "TEST_DEVICE_ADDR" ;
1921
2022macro_rules! t {
2123 ( $e: expr) => ( match $e {
Original file line number Diff line number Diff line change 1+ #![ deny( rust_2018_idioms) ]
2+
13/// This is a small server which is intended to run inside of an emulator or
24/// on a remote test device. This server pairs with the `remote-test-client`
35/// program in this repository. The `remote-test-client` connects to this
@@ -120,7 +122,7 @@ struct RemoveOnDrop<'a> {
120122 inner : & ' a Path ,
121123}
122124
123- impl < ' a > Drop for RemoveOnDrop < ' a > {
125+ impl Drop for RemoveOnDrop < ' _ > {
124126 fn drop ( & mut self ) {
125127 t ! ( fs:: remove_dir_all( self . inner) ) ;
126128 }
You can’t perform that action at this time.
0 commit comments