From 297bfb1501b7b4787a1a12783424fa43f2994d78 Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Thu, 9 Feb 2017 10:09:20 -0500 Subject: Grammar on Value doc strings --- src/value.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/value.rs') diff --git a/src/value.rs b/src/value.rs index 4769ef1..99e6d23 100644 --- a/src/value.rs +++ b/src/value.rs @@ -103,7 +103,7 @@ impl Value { match *self { Value::Float(f) => Some(f), _ => None } } - /// Tests whether this value is an float + /// Tests whether this value is a float pub fn is_float(&self) -> bool { self.as_float().is_some() } @@ -113,7 +113,7 @@ impl Value { match *self { Value::Boolean(b) => Some(b), _ => None } } - /// Tests whether this value is an boolg + /// Tests whether this value is a boolean pub fn is_bool(&self) -> bool { self.as_bool().is_some() } @@ -140,7 +140,7 @@ impl Value { match *self { Value::Datetime(ref s) => Some(s), _ => None } } - /// Tests whether this value is an datetime + /// Tests whether this value is a datetime pub fn is_datetime(&self) -> bool { self.as_datetime().is_some() } -- cgit v1.2.3