summaryrefslogtreecommitdiff
path: root/serde_dhall/src/shortcuts.rs
diff options
context:
space:
mode:
authorNadrieril2020-03-22 21:25:44 +0000
committerNadrieril2020-03-31 21:45:31 +0100
commit002d7c2a74647312a821598ac3d9f5521296873d (patch)
treea360114d5b30d87c97586fc5e0b59ff3a535c515 /serde_dhall/src/shortcuts.rs
parent1a98b506055779e1a60558d9c5a56b071b3d61a0 (diff)
Add a bunch of TODOs
Diffstat (limited to 'serde_dhall/src/shortcuts.rs')
-rw-r--r--serde_dhall/src/shortcuts.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/serde_dhall/src/shortcuts.rs b/serde_dhall/src/shortcuts.rs
index 1fb1032..ddb738c 100644
--- a/serde_dhall/src/shortcuts.rs
+++ b/serde_dhall/src/shortcuts.rs
@@ -79,6 +79,8 @@ where
/// # Ok(())
/// # }
/// ```
+///
+/// TODO
pub fn from_str_manual_type<T>(s: &str, ty: &SimpleType) -> Result<T>
where
T: Deserialize,
@@ -92,6 +94,8 @@ where
/// Like [from_str], but this additionally checks that
/// the type of the provided expression matches the output type `T`. The [StaticType] trait
/// captures Rust types that are valid Dhall types.
+///
+/// TODO
pub fn from_str_static_type<T>(s: &str) -> Result<T>
where
T: Deserialize + StaticType,