From b4f4e07f36ef2d0f4b17f10febb5043e41422e44 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 2 Jun 2025 13:02:18 +0000 Subject: chore: Bump MSRV --- src/response/configuration.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/response/configuration.rs') diff --git a/src/response/configuration.rs b/src/response/configuration.rs index 4278516..9c2cacc 100644 --- a/src/response/configuration.rs +++ b/src/response/configuration.rs @@ -15,9 +15,13 @@ impl Configuration { pub const fn is_no_css(&self) -> bool { self.is_no_css } - pub fn set_proxy(&mut self, is_proxy: bool) { self.is_proxy = is_proxy; } + pub const fn set_proxy(&mut self, is_proxy: bool) { + self.is_proxy = is_proxy; + } - pub fn set_raw(&mut self, is_raw: bool) { self.is_raw = is_raw; } + pub const fn set_raw(&mut self, is_raw: bool) { self.is_raw = is_raw; } - pub fn set_no_css(&mut self, is_no_css: bool) { self.is_no_css = is_no_css; } + pub const fn set_no_css(&mut self, is_no_css: bool) { + self.is_no_css = is_no_css; + } } -- cgit v1.2.3