Skip to content

Commit

Permalink
Merge pull request #2505 from acterglobal/ben-fix-rust-docs
Browse files Browse the repository at this point in the history
Fix rust docs
  • Loading branch information
gnunicorn authored Jan 17, 2025
2 parents 6267395 + 8c6e0e5 commit 675de01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion native/core/src/events/calendar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub enum EventLocation {
#[serde(default, skip_serializing_if = "Option::is_none")]
icon: Option<Icon>,

/// A `geo:` URI [RFC5870] for the location.
/// A `geo:` URI RFC5870 for the location.
#[serde(default, skip_serializing_if = "Option::is_none")]
coordinates: Option<String>,

Expand Down
2 changes: 1 addition & 1 deletion native/core/src/util.rs
Original file line number Diff line number Diff line change
@@ -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<Option<T>, D::Error>
where
T: Deserialize<'de>,
Expand Down

0 comments on commit 675de01

Please sign in to comment.