From 3f002979c4d2f91cdb04a21399f76c9ab8972a34 Mon Sep 17 00:00:00 2001 From: Bas Bossink Date: Tue, 4 Dec 2018 00:57:15 +0100 Subject: [PATCH] Suppress dead_code warning in test --- examples/de-emphasize.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/de-emphasize.rs b/examples/de-emphasize.rs index fffcc44e..1cdf0823 100644 --- a/examples/de-emphasize.rs +++ b/examples/de-emphasize.rs @@ -17,6 +17,7 @@ fn main() { panic!("This example is intended to be part of a library"); } +#[allow(dead_code)] struct Deemphasize; impl Preprocessor for Deemphasize {