Manually catch up to main branch

This commit is contained in:
Jeff 2023-12-31 11:54:19 -05:00
parent 318825d1b1
commit 3ae7456758

View File

@ -88,7 +88,7 @@ impl Value {
}
pub fn none() -> Self {
Value::none()
Value::Option(None)
}
pub fn is_string(&self) -> bool {
@ -120,7 +120,7 @@ impl Value {
}
pub fn is_none(&self) -> bool {
matches!(self, Value::none())
matches!(self, Value::Option(None))
}
pub fn is_map(&self) -> bool {
@ -255,7 +255,7 @@ impl Value {
impl Default for &Value {
fn default() -> Self {
&Value::none()
&Value::Option(None)
}
}