diff options
author | Ariel Dabalsa <arieldabalsa@gmail.com> | 2017-04-20 21:39:43 -0400 |
---|---|---|
committer | Ariel Dabalsa <arieldabalsa@gmail.com> | 2017-04-20 23:18:55 -0400 |
commit | b25578868f47b5d83a7b5d6dd76526daf8bf83fc (patch) | |
tree | ac67899f7bbfdb2410fbb05b8d0e3269000bbdd7 | |
parent | a298a1bec4f4458486286d63282e70ae000715e9 (diff) |
Fix failing doctest
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,6 +15,7 @@ //! # extern crate icalendar; //! # use chrono::*; //! # use icalendar::*; +//! # fn main() { //! let event = Event::new() //! .summary("test event") //! .description("here I have something really important to do") @@ -44,7 +45,7 @@ //! calendar.add(event); //! calendar.add(todo); //! calendar.add(bday); -//! +//! # } //! ``` #![warn(missing_docs, |