From 7064ef5c17f49c438e1579b44a93de37970221a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Thu, 1 Jun 2023 16:24:51 +0200 Subject: [PATCH] minidom/examples: silence warning on unused property in struct MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- minidom/examples/articles.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minidom/examples/articles.rs b/minidom/examples/articles.rs index 8372df63..9bc1f493 100644 --- a/minidom/examples/articles.rs +++ b/minidom/examples/articles.rs @@ -27,8 +27,8 @@ const ARTICLE_NS: &str = "article"; #[derive(Debug)] pub struct Article { - title: String, - body: String, + pub title: String, + pub body: String, } fn main() {