From 1e74e77d8c4e470c99f13ac82918ed014ecdfc4e Mon Sep 17 00:00:00 2001 From: nerix Date: Thu, 12 Dec 2024 23:04:42 +0100 Subject: [PATCH] Clarify `iana_to_bcp47` return type in docs (#5889) --- components/timezone/src/ids.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/timezone/src/ids.rs b/components/timezone/src/ids.rs index 2916964b4bf..997e64d3964 100644 --- a/components/timezone/src/ids.rs +++ b/components/timezone/src/ids.rs @@ -194,7 +194,7 @@ impl TimeZoneIdMapperBorrowed<'_> { /// Gets the BCP-47 time zone ID from an IANA time zone ID /// with a case-insensitive lookup. /// - /// Returns `None` if the IANA ID is not found. + /// Returns [`TimeZoneBcp47Id::unknown()`] if the IANA ID is not found. /// /// # Examples ///