aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2017-02-09 10:09:20 -0500
committerJake Goulding <jake.goulding@gmail.com>2017-02-09 10:09:20 -0500
commit297bfb1501b7b4787a1a12783424fa43f2994d78 (patch)
tree481a381f27377d4bc9957447011bad7736425ab2 /src
parent204d1b14e6bd7b67d782def4c4c7837b9045cd8d (diff)
downloadmilf-rs-297bfb1501b7b4787a1a12783424fa43f2994d78.tar.gz
milf-rs-297bfb1501b7b4787a1a12783424fa43f2994d78.zip
Grammar on Value doc strings
Diffstat (limited to 'src')
-rw-r--r--src/value.rs6
1 files changed, 3 insertions, 3 deletions
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()
}