Set Default for LuaValue to be nil. (#512)

This commit is contained in:
Radiant
2025-01-20 01:52:58 +02:00
committed by GitHub
parent cd4091f64d
commit b5d38ab2e3
+6
View File
@@ -569,6 +569,12 @@ impl Value {
}
}
impl Default for Value {
fn default() -> Self {
Self::Nil
}
}
impl fmt::Debug for Value {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
if fmt.alternate() {