aboutsummaryrefslogtreecommitdiff
path: root/src/value.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-02-09 10:08:52 -0800
committerGitHub <noreply@github.com>2017-02-09 10:08:52 -0800
commitec4e821f3bb081391801e4c00aa90bf66a53562c (patch)
treeee9bfe4f5a92d33391d5b8530db5bf112570155c /src/value.rs
parent204d1b14e6bd7b67d782def4c4c7837b9045cd8d (diff)
parent40ee27a79fea24625d83d03a767581a03321618e (diff)
downloadmilf-rs-ec4e821f3bb081391801e4c00aa90bf66a53562c.tar.gz
milf-rs-ec4e821f3bb081391801e4c00aa90bf66a53562c.zip
Merge pull request #141 from shepmaster/prose
Minor prose fixes
Diffstat (limited to 'src/value.rs')
-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()
}