From 1d757327f1d35bd41b6aab7becae1812c6ff6bb7 Mon Sep 17 00:00:00 2001 From: Joakim Soderlund Date: Sat, 27 Jul 2019 20:47:29 +0000 Subject: [PATCH] Hide deserialization functions in story module --- src/archive/story.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/archive/story.rs b/src/archive/story.rs index 1d4a13c..7cf3bcd 100644 --- a/src/archive/story.rs +++ b/src/archive/story.rs @@ -152,7 +152,7 @@ pub struct Tag { pub url: String, } -pub fn null_to_html<'de, D>(d: D) -> Result +fn null_to_html<'de, D>(d: D) -> Result where D: Deserializer<'de>, { @@ -162,7 +162,7 @@ where } } -pub fn null_to_text<'de, D>(d: D) -> Result +fn null_to_text<'de, D>(d: D) -> Result where D: Deserializer<'de>, { @@ -172,7 +172,7 @@ where } } -pub fn string_to_id<'de, D>(d: D) -> Result +fn string_to_id<'de, D>(d: D) -> Result where D: Deserializer<'de>, {