From 8c6e0e5834863f32a3e2e639b5e265f7cdd7b7e5 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Thu, 16 Jan 2025 14:31:29 +0000 Subject: [PATCH] Fix rust docs --- native/core/src/events/calendar.rs | 2 +- native/core/src/util.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/native/core/src/events/calendar.rs b/native/core/src/events/calendar.rs index 161ac05e5da4..10acd20c29dc 100644 --- a/native/core/src/events/calendar.rs +++ b/native/core/src/events/calendar.rs @@ -29,7 +29,7 @@ pub enum EventLocation { #[serde(default, skip_serializing_if = "Option::is_none")] icon: Option, - /// A `geo:` URI [RFC5870] for the location. + /// A `geo:` URI RFC5870 for the location. #[serde(default, skip_serializing_if = "Option::is_none")] coordinates: Option, diff --git a/native/core/src/util.rs b/native/core/src/util.rs index 9ace4182e1d9..3dc449b32b32 100644 --- a/native/core/src/util.rs +++ b/native/core/src/util.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Deserializer}; /// Any value that is present is considered Some value, including null. -/// from https://github.com/serde-rs/serde/issues/984#issuecomment-314143738 +/// from [serde](https://github.com/serde-rs/serde/issues/984#issuecomment-314143738) pub fn deserialize_some<'de, T, D>(deserializer: D) -> Result, D::Error> where T: Deserialize<'de>,