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
commit80d356c79f40c89c81852936b2cd6a364509529a (patch)
treeb4bea07e9dbd51eb17bb53f4488abb3d9cc52c9e /src
parentchore: Bump version patch (diff)
downloadseptember-80d356c79f40c89c81852936b2cd6a364509529a.tar.xz
september-80d356c79f40c89c81852936b2cd6a364509529a.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;
+ }
}