From 01cb1ed147d5b49686e2a73dd3dc5cd262987872 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Mon, 15 Jan 2024 17:27:19 +0200 Subject: [PATCH] Update crates/packager/src/config/mod.rs --- crates/packager/src/config/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/packager/src/config/mod.rs b/crates/packager/src/config/mod.rs index 6dcf7e1c..ecb93c11 100644 --- a/crates/packager/src/config/mod.rs +++ b/crates/packager/src/config/mod.rs @@ -364,14 +364,14 @@ impl DebianConfig { } /// Define the section in Debian Control file. See : https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections - pub fn section>(self, section: S) -> Self { + pub fn section>(mut self, section: S) -> Self { self.section.replace(section.into()); self } /// Change the priority of the Debian Package. By default, it is set to `optional`. /// Recognized Priorities as of now are : `required`, `important`, `standard`, `optional`, `extra` - pub fn priority>(self, priority: S) -> Self { + pub fn priority>(mut self, priority: S) -> Self { self.priority.replace(priority.into()); self }