From 6c9f39806579ab01654c4d416d63c778d8653e2e Mon Sep 17 00:00:00 2001 From: Lukas Kalbertodt Date: Wed, 30 Mar 2022 17:41:51 +0200 Subject: [PATCH] Allow unused fields in example This fails now because access by `derive(Debug)` are not counted as actual reads anymore as far as that lint is concerned. --- examples/simple.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/simple.rs b/examples/simple.rs index 05d7422..ce120c4 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -1,3 +1,5 @@ +#![allow(dead_code)] + use std::{net::IpAddr, path::PathBuf}; use confique::Config;