Merge branch 'fix-stable-build' into kochab
This commit is contained in:
commit
67fe997eee
|
@ -111,7 +111,8 @@ impl Request {
|
|||
self.trailing_segments = Some(segments);
|
||||
}
|
||||
|
||||
pub const fn certificate(&self) -> Option<&Certificate> {
|
||||
#[allow(clippy::missing_const_for_fn)]
|
||||
pub fn certificate(&self) -> Option<&Certificate> {
|
||||
self.certificate.as_ref()
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,8 @@ impl Status {
|
|||
self.category().is_success()
|
||||
}
|
||||
|
||||
pub const fn category(&self) -> StatusCategory {
|
||||
#[allow(clippy::missing_const_for_fn)]
|
||||
pub fn category(&self) -> StatusCategory {
|
||||
let class = self.0 / 10;
|
||||
|
||||
match class {
|
||||
|
|
Loading…
Reference in a new issue