Remove old code comments
This commit is contained in:
parent
7d5dc66555
commit
19909885e9
1 changed files with 2 additions and 2 deletions
|
@ -464,7 +464,7 @@ impl Value {
|
||||||
pub fn is_true(&self) -> bool {
|
pub fn is_true(&self) -> bool {
|
||||||
match self {
|
match self {
|
||||||
Value::True => true,
|
Value::True => true,
|
||||||
Value::Strand(v) => v.value.to_ascii_lowercase() == "true", // TODO: remove this?
|
Value::Strand(v) => v.value.to_ascii_lowercase() == "true",
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -472,7 +472,7 @@ impl Value {
|
||||||
pub fn is_false(&self) -> bool {
|
pub fn is_false(&self) -> bool {
|
||||||
match self {
|
match self {
|
||||||
Value::False => true,
|
Value::False => true,
|
||||||
Value::Strand(v) => v.value.to_ascii_lowercase() == "false", // TODO: remove this?
|
Value::Strand(v) => v.value.to_ascii_lowercase() == "false",
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue