From 0f9410a7f0d3473aef2b82f218f8b4e0a44386da Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 26 Jun 2014 22:55:20 -0700 Subject: [PATCH] Document a new public field --- src/serialization.rs | 2 ++ 1 file changed, 2 insertions(+) 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, cur_field: Option, }