From 7e73961231ed0d8a9ea40f904d1d02868bca11e5 Mon Sep 17 00:00:00 2001 From: Juniper Tyree <50025784+juntyr@users.noreply.github.com> Date: Mon, 13 Mar 2023 13:36:05 +0200 Subject: [PATCH] Document nested block comments and add more intra docs links (#440) --- src/value/raw.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/value/raw.rs b/src/value/raw.rs index 493d0a50f..213521c67 100644 --- a/src/value/raw.rs +++ b/src/value/raw.rs @@ -70,14 +70,16 @@ impl RawValue { &self.ron } - /// Helper function to validate a RON string and turn it into a `RawValue`. + /// Helper function to validate a RON string and turn it into a + /// [`RawValue`]. pub fn from_ron(ron: &str) -> SpannedResult<&Self> { Options::default() .from_str::<&Self>(ron) .map(|_| Self::from_borrowed_str(ron)) } - /// Helper function to validate a RON string and turn it into a `RawValue`. + /// Helper function to validate a RON string and turn it into a + /// [`RawValue`]. pub fn from_boxed_ron(ron: Box) -> SpannedResult> { match Options::default().from_str::<&Self>(&ron) { Ok(_) => Ok(Self::from_boxed_str(ron)),