minidom/examples: silence warning on unused property in struct

Maxime “pep” Buquet created

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Change summary

minidom/examples/articles.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

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() {