summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriel Dabalsa <arieldabalsa@gmail.com>2017-04-20 21:39:43 -0400
committerAriel Dabalsa <arieldabalsa@gmail.com>2017-04-20 23:18:55 -0400
commitb25578868f47b5d83a7b5d6dd76526daf8bf83fc (patch)
treeac67899f7bbfdb2410fbb05b8d0e3269000bbdd7
parenta298a1bec4f4458486286d63282e70ae000715e9 (diff)
Fix failing doctest
-rw-r--r--src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d911f06..f124dda 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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,