aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-06-02 13:02:18 +0000
committerFuwn <[email protected]>2025-06-02 13:02:18 +0000
commitb4f4e07f36ef2d0f4b17f10febb5043e41422e44 (patch)
treeb4bea07e9dbd51eb17bb53f4488abb3d9cc52c9e /src
parentchore: Bump version patch (diff)
downloadseptember-b4f4e07f36ef2d0f4b17f10febb5043e41422e44.tar.xz
september-b4f4e07f36ef2d0f4b17f10febb5043e41422e44.zip
chore: Bump MSRV
Diffstat (limited to 'src')
-rw-r--r--src/response/configuration.rs10
1 files changed, 7 insertions, 3 deletions
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;
+ }
}