diff options
author | Fredrik Meringdal <fmeringdal@hotmail.com> | 2020-11-01 22:56:06 +0100 |
---|---|---|
committer | Fredrik Meringdal <fmeringdal@hotmail.com> | 2020-11-01 22:56:06 +0100 |
commit | d28241cf589d2773bd3e28e05ca173c58561e913 (patch) | |
tree | 22acc45fa0de1aa100da69463d508d0c39d16bab /src/lib.rs | |
parent | 220c27fc152d8ad533e5450af2157b1061a47332 (diff) | |
download | rust_rrule-d28241cf589d2773bd3e28e05ca173c58561e913.zip |
docs + more tests
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ //! properties are represented by the `RRule` type and the rdate and exdate properties are represented by the DateTime<Tz> type //! provided by the [chrono](https://crates.io/crates/chrono) and [chrono-tz](https://crates.io/crates/chrono-tz) crates. //! -//! # Building RRule and RRuleSet types +//! # Building RRule and RRuleSet //! Both of the types implements the `std::str::FromStr` trait so that they can be parsed and built from a `str`. `RRule` //! can additionally be constructured from the `Option` type which help build the recurrence rule. `RRuleSet` //! can also be built by composing mutliple `RRule`s for its rrule and exrule properties and DateTime<Tz> for its @@ -78,7 +78,7 @@ //! Construct RRuleSet from one rrule and exrule. //! The rrule will occur weekly on Tuesday and Wednesday and the exrule //! will occur weekly on Wednesday, and therefore the end result will contain -//! weekly recurrences just on Wednesday. +//! weekly recurrences on Wednesday only. //! ``` //! extern crate rrule; //! extern crate chrono; |