summaryrefslogtreecommitdiff
path: root/serde_dhall
diff options
context:
space:
mode:
authorNadrieril2020-04-05 18:14:06 +0100
committerNadrieril2020-04-05 18:14:06 +0100
commit1f1ba51249df6f3ce739d4727e054d0893fd3288 (patch)
tree7a05991753ecf28369a5a1eac932191234e35901 /serde_dhall
parent7e977f282fb6a0eff0ef45738b9b5c98dc4c6fee (diff)
Doc tweaks
Diffstat (limited to 'serde_dhall')
-rw-r--r--serde_dhall/src/options.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/serde_dhall/src/options.rs b/serde_dhall/src/options.rs
index 06a4368..76b1c5b 100644
--- a/serde_dhall/src/options.rs
+++ b/serde_dhall/src/options.rs
@@ -302,6 +302,8 @@ impl<'a, A> Deserializer<'a, A> {
/// This returns a [`Deserializer`] object. Call the [`parse`] method to get the deserialized
/// value, or use other [`Deserializer`] methods to control the deserialization process.
///
+/// Imports will be resolved relative to the current directory.
+///
/// # Example
///
/// ```rust
@@ -338,6 +340,8 @@ pub fn from_str(s: &str) -> Deserializer<'_, NoAnnot> {
/// This returns a [`Deserializer`] object. Call the [`parse`] method to get the deserialized
/// value, or use other [`Deserializer`] methods to control the deserialization process.
///
+/// Imports will be resolved relative to the provided file's path.
+///
/// # Example
///
/// ```no_run