diff --git a/parser/examples/gen_large_yaml/main.rs b/parser/examples/gen_large_yaml/main.rs index 15d0c31..4ba7ad9 100644 --- a/parser/examples/gen_large_yaml/main.rs +++ b/parser/examples/gen_large_yaml/main.rs @@ -43,7 +43,7 @@ impl Generator { self.gen_array(writer, items_lo, items_hi, Generator::gen_record_object) } - /// Generate an array of strings. + /// Generate an array of lipsum one-liners. fn gen_strings_array( &mut self, writer: &mut W, @@ -128,6 +128,7 @@ impl Generator { self.gen_array(writer, items_lo, items_hi, Generator::gen_author_object) } + /// Generate a small object with 2 string fields. fn gen_author_object(&mut self, writer: &mut W) -> std::fmt::Result { let mut fields = HashMap::>>::new(); fields.insert(