From cb5b46834ef45da93098e597fef65b3c8e4a3b6d Mon Sep 17 00:00:00 2001 From: arty Date: Tue, 23 Jan 2024 16:26:05 -0800 Subject: [PATCH 1/2] New quarter, new clippy --- src/util/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/mod.rs b/src/util/mod.rs index 51943649f..e7b82c43c 100644 --- a/src/util/mod.rs +++ b/src/util/mod.rs @@ -81,7 +81,7 @@ where let mut finished_idx = 0; // Determine what's defined in these bindings. - for (_, item) in items.iter().enumerate() { + for item in items.iter() { for new_item in item.has.iter() { possible.insert(new_item.clone()); } From a3e81e741bc5390d0e74e3052b6a41815b87f7ce Mon Sep 17 00:00:00 2001 From: arty Date: Tue, 23 Jan 2024 17:59:28 -0800 Subject: [PATCH 2/2] A new path is showing up in the coverage output --- resources/coverage/run_coverage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/coverage/run_coverage.py b/resources/coverage/run_coverage.py index 4c6b48b06..411620c43 100644 --- a/resources/coverage/run_coverage.py +++ b/resources/coverage/run_coverage.py @@ -28,7 +28,7 @@ def run_coverage_test(): subprocess.check_call(['cargo','test'],env=env) def is_my_code(desc): - for path in ['.cargo','library/std','src/py','src/classic/bins']: + for path in ['.cargo','library/std','src/py','src/classic/bins','/rustc']: if path in desc['name']: return False