Skip to content

Commit ef6ad0e

Browse files
committed
Ignore unused code warning for schema validation struct
This struct is only used to validate the structure of the response from Frontend, and is intentionally not used otherwise. Signed-off-by: Robert Detjens <github@detjens.dev>
1 parent b237825 commit ef6ad0e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/deploy/frontend.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ pub struct FrontendChalData {
3131
}
3232

3333
#[derive(Debug, Deserialize)]
34+
#[allow(dead_code)] // used to validate response schema only
3435
pub struct FrontendResolveResponse {
3536
current: Vec<String>,
3637
removed: Vec<String>,

0 commit comments

Comments
 (0)