From 6609529fb2e088f2124db0b91586956070efe310 Mon Sep 17 00:00:00 2001 From: Niclas Klugmann Date: Thu, 25 Sep 2025 13:48:43 +0200 Subject: [PATCH] fix docs as there's no error being handled in MappedLocalTime::unwrap --- src/offset/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/offset/mod.rs b/src/offset/mod.rs index 38380c131c..be579a3337 100644 --- a/src/offset/mod.rs +++ b/src/offset/mod.rs @@ -272,8 +272,8 @@ impl MappedLocalTime { /// /// # Panics /// - /// Panics if the local time falls within a _fold_ or a _gap_ in the local time, and on any - /// error that may have been returned by the type implementing [`TimeZone`]. + /// Panics if the local time falls within a _fold_ or a _gap_ in the local time, as defined + /// by the type implementing [`TimeZone`]. #[must_use] #[track_caller] pub fn unwrap(self) -> T {