Skip to content

Commit

Permalink
Fix doc tests (breaks on nightly) (#838)
Browse files Browse the repository at this point in the history
Signed-off-by: Thane Thomson <[email protected]>
  • Loading branch information
thanethomson committed Mar 30, 2021
1 parent dcddb25 commit 4c6b8f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pbt-gen/src/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub const MAX_NANO_SECS: u32 = 999_999_999u32;
/// See <https://github.com/chronotope/chrono/issues/537>.
///
/// ```
/// use pbt_gen;
/// use tendermint_pbt_gen as pbt_gen;
///
/// assert_eq!(pbt_gen::time::min_time().to_string(), "1653-02-10 06:13:21 UTC".to_string());
/// ```
Expand All @@ -29,7 +29,7 @@ pub fn min_time() -> DateTime<Utc> {
/// See <https://github.com/chronotope/chrono/issues/537>.
///
/// ```
/// use pbt_gen;
/// use tendermint_pbt_gen as pbt_gen;
///
/// assert_eq!(pbt_gen::time::max_time().to_string(), "5138-11-16 09:46:39 UTC".to_string());
/// ```
Expand Down Expand Up @@ -62,7 +62,7 @@ prop_compose! {
///
/// ```
/// use chrono::{TimeZone, Utc};
/// use pbt_gen;
/// use tendermint_pbt_gen as pbt_gen;
/// use proptest::prelude::*;
///
/// proptest!{
Expand Down

0 comments on commit 4c6b8f0

Please sign in to comment.