Skip to content

Commit 2f3988e

Browse files
committed
admin::on_call: Work around potential Rust v1.57.0-beta.1 bug
1 parent 61c1a7a commit 2f3988e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/admin/on_call.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ struct FullEvent {
6262
}
6363

6464
#[derive(serde::Deserialize, Debug)]
65+
#[allow(dead_code)] // workaround for a potential bug in Rust v1.57.0-beta.1
6566
struct InvalidEvent {
6667
message: String,
6768
errors: Vec<String>,

0 commit comments

Comments
 (0)