Skip to content

Commit b9b4834

Browse files
committed
chore: Bump MSRV
1 parent 5e49f36 commit b9b4834

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repository = "https://github.com/gemrest/september"
1212
license = "GPL-3.0-only"
1313
keywords = ["rust", "gemini", "proxy"]
1414
categories = ["web-programming", "web-programming::http-server"]
15-
rust-version = "1.78.0"
15+
rust-version = "1.83.0"
1616

1717
# Slower builds, faster executables
1818
[profile.release]

src/response/configuration.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ impl Configuration {
1515

1616
pub const fn is_no_css(&self) -> bool { self.is_no_css }
1717

18-
pub fn set_proxy(&mut self, is_proxy: bool) { self.is_proxy = is_proxy; }
18+
pub const fn set_proxy(&mut self, is_proxy: bool) {
19+
self.is_proxy = is_proxy;
20+
}
1921

20-
pub fn set_raw(&mut self, is_raw: bool) { self.is_raw = is_raw; }
22+
pub const fn set_raw(&mut self, is_raw: bool) { self.is_raw = is_raw; }
2123

22-
pub fn set_no_css(&mut self, is_no_css: bool) { self.is_no_css = is_no_css; }
24+
pub const fn set_no_css(&mut self, is_no_css: bool) {
25+
self.is_no_css = is_no_css;
26+
}
2327
}

0 commit comments

Comments
 (0)