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>) -> ! {
3434 // Give some time for python to start
3535 thread:: sleep ( Duration :: from_millis ( 500 ) ) ;
3636 // Launch browser after first export.py has completed and http.server is up
37- let _ = opener:: open ( url) ;
37+ let _result = opener:: open ( url) ;
3838 } ) ;
3939 }
4040 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 {
160160 let found_idx = self . mac_refs . iter ( ) . position ( |mac| import. ends_with ( & mac. name ) ) ;
161161
162162 if let Some ( idx) = found_idx {
163- let _ = self . mac_refs . remove ( idx) ;
163+ self . mac_refs . remove ( idx) ;
164164 let seg = import. split ( "::" ) . collect :: < Vec < _ > > ( ) ;
165165
166166 match seg. as_slice ( ) {
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ mod tests {
195195 #[ should_panic]
196196 fn fix_without_unstable ( ) {
197197 let args = "cargo clippy --fix" . split_whitespace ( ) . map ( ToString :: to_string) ;
198- let _ = ClippyCmd :: new ( args) ;
198+ ClippyCmd :: new ( args) ;
199199 }
200200
201201 #[ test]
You can’t perform that action at this time.
0 commit comments