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