From 6fa367a4a85529d357d995acd3f010188e010bed Mon Sep 17 00:00:00 2001 From: Blake Mealey Date: Fri, 15 Dec 2023 21:05:29 -0600 Subject: [PATCH] chore(mantle): fix lint warnings --- mantle/mantle/src/commands/diff.rs | 4 ++-- mantle/rbx_mantle/src/resource_graph.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mantle/mantle/src/commands/diff.rs b/mantle/mantle/src/commands/diff.rs index 439de56..53648a4 100644 --- a/mantle/mantle/src/commands/diff.rs +++ b/mantle/mantle/src/commands/diff.rs @@ -132,11 +132,11 @@ pub async fn run( } } - return 0; + 0 } Err(e) => { logger::end_action(Paint::red(e)); - return 1; + 1 } } } diff --git a/mantle/rbx_mantle/src/resource_graph.rs b/mantle/rbx_mantle/src/resource_graph.rs index 93a1d02..abaa4ce 100644 --- a/mantle/rbx_mantle/src/resource_graph.rs +++ b/mantle/rbx_mantle/src/resource_graph.rs @@ -614,6 +614,7 @@ where ); } else { let dependencies = resource.get_dependencies(); + #[allow(clippy::iter_overeager_cloned)] let changed_dependencies: Vec<_> = dependencies .iter() .cloned()