From 67107034fcff4657a43104397bb2726b2ae502a2 Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Fri, 1 Jan 2016 17:57:01 -0500 Subject: Minor documentation grammar fix --- src/decoder/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/decoder') diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index 50a781c..7c444e0 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -82,7 +82,8 @@ pub fn decode(toml: Value) -> Option { /// Decodes a string into a toml-encoded value. /// /// This function will parse the given string into a TOML value, and then parse -/// the TOML value into the desired type. If any error occurs `None` is return. +/// the TOML value into the desired type. If any error occurs, `None` is +/// returned. /// /// If more fine-grained errors are desired, these steps should be driven /// manually. @@ -94,7 +95,8 @@ pub fn decode_str(s: &str) -> Option { /// Decodes a string into a toml-encoded value. /// /// This function will parse the given string into a TOML value, and then parse -/// the TOML value into the desired type. If any error occurs `None` is return. +/// the TOML value into the desired type. If any error occurs, `None` is +/// returned. /// /// If more fine-grained errors are desired, these steps should be driven /// manually. -- cgit v1.2.3