examples: Allow dead code (#450)
The examples deny warnings, however a couple of examples deserialise TOML into structs. The fields of these structs are never read, which breaks cargo test in nightly mode. Allow dead code to fix the CI build.master
parent
83d787c60d
commit
499e8c4bb3
|
@ -2,6 +2,7 @@
|
|||
//! TOML into a Rust `struct`
|
||||
|
||||
#![deny(warnings)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
use serde_derive::Deserialize;
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
//! TOML into a Rust `struct`, with enums.
|
||||
|
||||
#![deny(warnings)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
use serde_derive::Deserialize;
|
||||
|
||||
|
|
Loading…
Reference in New Issue