From fd22be2c8ff21f433d9d6b323997126897a2ec44 Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Tue, 9 Oct 2018 23:19:59 +0200 Subject: [PATCH] Correct link to standard Durtation The link mentioning standard Duration was still linking to the Duration from the time crate --- README.md | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8a37c7b..3337fd6 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ nanoseconds and does not represent "nominal" components such as days or months. Chrono does not yet natively support -the standard [`Duration`](https://docs.rs/time/0.1.40/time/struct.Duration.html) type, +the standard [`Duration`](https://doc.rust-lang.org/std/time/struct.Duration.html) type, but it will be supported in the future. Meanwhile you can convert between two types with [`Duration::from_std`](https://docs.rs/time/0.1.40/time/struct.Duration.html#method.from_std) diff --git a/src/lib.rs b/src/lib.rs index 1f149ed..309da53 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -66,7 +66,7 @@ //! months. //! //! Chrono does not yet natively support -//! the standard [`Duration`](https://docs.rs/time/0.1.40/time/struct.Duration.html) type, +//! the standard [`Duration`](https://doc.rust-lang.org/std/time/struct.Duration.html) type, //! but it will be supported in the future. //! Meanwhile you can convert between two types with //! [`Duration::from_std`](https://docs.rs/time/0.1.40/time/struct.Duration.html#method.from_std)