From e1adb9c0911e79a773a88e8c5349102ade55af66 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 15 Apr 2021 09:48:06 +0200 Subject: [PATCH] Fix broken markdown in docstring --- epi/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epi/src/lib.rs b/epi/src/lib.rs index 7cb11772..047f94de 100644 --- a/epi/src/lib.rs +++ b/epi/src/lib.rs @@ -294,7 +294,7 @@ impl Storage for DummyStorage { fn flush(&mut self) {} } -/// Get an deserialize the [RON](https://github.com/ron-rs/ron] stored at the given key. +/// Get an deserialize the [RON](https://github.com/ron-rs/ron) stored at the given key. #[cfg(feature = "ron")] pub fn get_value(storage: &dyn Storage, key: &str) -> Option { storage @@ -302,7 +302,7 @@ pub fn get_value(storage: &dyn Storage, key: &st .and_then(|value| ron::from_str(&value).ok()) } -/// Serialize the given value as [RON](https://github.com/ron-rs/ron] and store with the given key. +/// Serialize the given value as [RON](https://github.com/ron-rs/ron) and store with the given key. #[cfg(feature = "ron")] pub fn set_value(storage: &mut dyn Storage, key: &str, value: &T) { storage.set_string(