diff options
author | Alex Crichton <alex@alexcrichton.com> | 2014-06-26 22:55:20 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2014-06-26 22:55:20 -0700 |
commit | 0f9410a7f0d3473aef2b82f218f8b4e0a44386da (patch) | |
tree | f747e459950ad0cbda21cfec9b9985a62e1faffb | |
parent | c28df7cb52f537975866b43ca28ea5d1a38f7d17 (diff) | |
download | milf-rs-0f9410a7f0d3473aef2b82f218f8b4e0a44386da.tar.gz milf-rs-0f9410a7f0d3473aef2b82f218f8b4e0a44386da.zip |
Document a new public field
-rw-r--r-- | src/serialization.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/serialization.rs b/src/serialization.rs index e5bce42..26fc7ba 100644 --- a/src/serialization.rs +++ b/src/serialization.rs @@ -48,6 +48,8 @@ pub struct Encoder { /// `Decodable` types to be generated by this decoder. The input is any /// arbitrary TOML value. pub struct Decoder { + /// The TOML value left over after decoding. This can be used to inspect + /// whether fields were decoded or not. pub toml: Option<Value>, cur_field: Option<String>, } |