From 4cda688502ec5cb056a74a53355aed55e28042a1 Mon Sep 17 00:00:00 2001 From: Daniel Szoke Date: Thu, 30 Oct 2025 16:10:24 +0100 Subject: [PATCH] ref(proguard): Redeclare `mappings` as immutable To make it easier to reason about the code when working on #2328, we redeclare the `mappings` variable as immutable after we are done constructing it. --- src/commands/upload_proguard.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands/upload_proguard.rs b/src/commands/upload_proguard.rs index 06752d1a62..239f381a6e 100644 --- a/src/commands/upload_proguard.rs +++ b/src/commands/upload_proguard.rs @@ -214,6 +214,9 @@ pub fn execute(matches: &ArgMatches) -> Result<()> { } } + // We are done constructing the mappings, redeclare as immutable. + let mappings = mappings; + let api = Api::current(); let config = Config::current();