diff options
author | Jake Goulding <shepmaster@mac.com> | 2016-01-01 17:57:01 -0500 |
---|---|---|
committer | Jake Goulding <shepmaster@mac.com> | 2016-01-01 17:57:01 -0500 |
commit | 67107034fcff4657a43104397bb2726b2ae502a2 (patch) | |
tree | 31024aaaf6f7f8ad342e70474e8abe4c30ef959b /src | |
parent | 67138b6c8eb7c9420eb212b5bae3a4170f16ec0b (diff) | |
download | milf-rs-67107034fcff4657a43104397bb2726b2ae502a2.tar.gz milf-rs-67107034fcff4657a43104397bb2726b2ae502a2.zip |
Minor documentation grammar fix
Diffstat (limited to 'src')
-rw-r--r-- | src/decoder/mod.rs | 6 |
1 files changed, 4 insertions, 2 deletions
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<T: ::serde::Deserialize>(toml: Value) -> Option<T> { /// 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<T: ::rustc_serialize::Decodable>(s: &str) -> Option<T> { /// 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. |