From de84736417f33b2e21e37e6b2b152ee7f508a129 Mon Sep 17 00:00:00 2001 From: Taksh Date: Wed, 27 May 2026 14:19:14 +0530 Subject: [PATCH] fix(rust): update gigasecond mentoring concepts for time crate Fixes exercism/website-copy#2292 Co-authored-by: Cursor --- tracks/rust/exercises/gigasecond/mentoring.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tracks/rust/exercises/gigasecond/mentoring.md b/tracks/rust/exercises/gigasecond/mentoring.md index 57ebf701d..d1b9af31e 100644 --- a/tracks/rust/exercises/gigasecond/mentoring.md +++ b/tracks/rust/exercises/gigasecond/mentoring.md @@ -5,9 +5,8 @@ - [Integer (i64 in this case)](https://doc.rust-lang.org/std/primitive.i64.html) - [constant](https://doc.rust-lang.org/std/keyword.const.html) - [struct](https://doc.rust-lang.org/std/keyword.struct.html) -(We're returning the [Utc](https://docs.rs/chrono/0.4.6/chrono/offset/struct.Utc.html) struct, -which is the `offset` field in the [DateTime](https://docs.rs/chrono/0.4.6/chrono/struct.DateTime.html) -struct from the [Chrono crate](https://docs.rs/chrono)) +(We're returning [`PrimitiveDateTime`](https://docs.rs/time/latest/time/struct.PrimitiveDateTime.html) +from the [`time` crate](https://docs.rs/time/), which this exercise uses instead of `chrono`.) ## Reasonable solutions