Merge pull request #279 from bachp/duration-link

Correct link to standard Durtation
This commit is contained in:
Brandon W Maister 2018-11-26 23:22:35 -05:00 committed by GitHub
commit 9ab410728c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ nanoseconds and does not represent "nominal" components such as days or
months. months.
Chrono does not yet natively support 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. but it will be supported in the future.
Meanwhile you can convert between two types with 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) [`Duration::from_std`](https://docs.rs/time/0.1.40/time/struct.Duration.html#method.from_std)

View File

@ -66,7 +66,7 @@
//! months. //! months.
//! //!
//! Chrono does not yet natively support //! 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. //! but it will be supported in the future.
//! Meanwhile you can convert between two types with //! 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) //! [`Duration::from_std`](https://docs.rs/time/0.1.40/time/struct.Duration.html#method.from_std)