This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ pub fn run(port: u16, lint: Option<&str>) -> ! {
34
34
// Give some time for python to start
35
35
thread:: sleep ( Duration :: from_millis ( 500 ) ) ;
36
36
// Launch browser after first export.py has completed and http.server is up
37
- let _ = opener:: open ( url) ;
37
+ let _result = opener:: open ( url) ;
38
38
} ) ;
39
39
}
40
40
thread:: sleep ( Duration :: from_millis ( 1000 ) ) ;
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ impl<'tcx> LateLintPass<'tcx> for MacroUseImports {
160
160
let found_idx = self . mac_refs . iter ( ) . position ( |mac| import. ends_with ( & mac. name ) ) ;
161
161
162
162
if let Some ( idx) = found_idx {
163
- let _ = self . mac_refs . remove ( idx) ;
163
+ self . mac_refs . remove ( idx) ;
164
164
let seg = import. split ( "::" ) . collect :: < Vec < _ > > ( ) ;
165
165
166
166
match seg. as_slice ( ) {
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ mod tests {
195
195
#[ should_panic]
196
196
fn fix_without_unstable ( ) {
197
197
let args = "cargo clippy --fix" . split_whitespace ( ) . map ( ToString :: to_string) ;
198
- let _ = ClippyCmd :: new ( args) ;
198
+ ClippyCmd :: new ( args) ;
199
199
}
200
200
201
201
#[ test]
You can’t perform that action at this time.
0 commit comments