aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
+ }
}