Skip to content

Commit

Permalink
Remove fn main from doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
pitdicker committed Apr 15, 2024
1 parent 31072df commit 67dc9ea
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions parse-zoneinfo/src/line.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
//! Parsing a `Rule` line:
//!
//! ```
//! # extern crate parse_zoneinfo;
//! # fn main() {
//! use parse_zoneinfo::line::*;
//!
//! let parser = LineParser::default();
Expand All @@ -31,13 +29,11 @@
//! time_to_add: TimeSpec::HoursMinutes(1, 0),
//! letters: Some("S"),
//! })));
//! # }
//! ```
//!
//! Parsing a `Zone` line:
//!
//! ```
//! # fn main() {
//! use parse_zoneinfo::line::*;
//!
//! let parser = LineParser::default();
Expand All @@ -57,7 +53,6 @@
//! ),
//! },
//! })));
//! # }
//! ```
//!
//! Parsing a `Link` line:
Expand Down

0 comments on commit 67dc9ea

Please sign in to comment.