Skip to content

Commit c6a8940

Browse files
authored
Fix dead_code Clippy lint with Rust 1.90+ (#52)
> error: struct `CaddyHTTPServerErrors` is never constructed GUS-W-20017598
1 parent 5e110ea commit c6a8940

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

buildpacks/static-web-server/src/caddy_config.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ pub(crate) struct CaddyHTTPServerRoute {
3838
pub(crate) handle: Vec<CaddyHTTPServerRouteHandler>,
3939
}
4040

41-
#[derive(Serialize, Deserialize, Debug)]
42-
pub(crate) struct CaddyHTTPServerErrors {
43-
pub(crate) routes: Vec<CaddyHTTPServerRoute>,
44-
}
45-
4641
#[derive(Serialize, Deserialize, Debug)]
4742
#[serde(untagged)]
4843
pub(crate) enum CaddyHTTPServerRouteMatcher {

0 commit comments

Comments
 (0)