From 7a0ba94016373baf5f8fc02a4b6c6b6f4aa98dec Mon Sep 17 00:00:00 2001 From: cksac Date: Wed, 25 Oct 2023 23:36:02 +0800 Subject: [PATCH] fix warning --- fake/examples/derive.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/fake/examples/derive.rs b/fake/examples/derive.rs index 3c8f81f..a5ae659 100644 --- a/fake/examples/derive.rs +++ b/fake/examples/derive.rs @@ -99,6 +99,7 @@ struct EmptyStruct {} struct NewType(#[dummy(faker = "1..100")] usize, String); #[derive(Debug, Dummy)] +#[allow(dead_code)] struct MyStruct { field: Vec, }