diff --git a/src/writer.rs b/src/writer.rs index 9fef1f1..dafb24d 100644 --- a/src/writer.rs +++ b/src/writer.rs @@ -215,7 +215,9 @@ impl WriterBuilder { /// /// # fn main() { example().unwrap(); } /// fn example() -> Result<(), Box> { - /// let mut wtr = WriterBuilder::new().from_writer(vec![]); + /// let mut wtr = WriterBuilder::new() + /// .has_headers(false) + /// .from_writer(vec![]); /// wtr.serialize(("Boston", "United States", 4628910))?; /// wtr.serialize(("Concord", "United States", 42695))?; ///