From 14db1593cc7b84e098bdeb34102b2f691c2bdbf0 Mon Sep 17 00:00:00 2001 From: Michael Watzko Date: Wed, 22 Apr 2020 19:59:35 +0200 Subject: [PATCH] Add the println output for the current example #11 --- src/syn/mod.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/syn/mod.rs b/src/syn/mod.rs index d87a0df6..a5e66170 100644 --- a/src/syn/mod.rs +++ b/src/syn/mod.rs @@ -187,6 +187,14 @@ mod tests { opt: None, some: Some("Lorem Ipsum".to_string()), }; + + // Writing sequence Whatever + // Writing Utf8String(MIN..MAX): SeGreatName + // Writing OPTIONAL + // None + // Writing OPTIONAL + // Some + // Writing Utf8String(MIN..MAX): Lorem Ipsum value.write(&mut writer).unwrap(); } }