1
0

Add quotes to string value display

This commit is contained in:
Jeff 2024-09-10 01:06:38 -04:00
parent 8798efc0af
commit 0ed2733991

View File

@ -1223,7 +1223,7 @@ impl Display for ValueData {
ValueData::Range(range_value) => { ValueData::Range(range_value) => {
write!(f, "{range_value}") write!(f, "{range_value}")
} }
ValueData::String(string) => write!(f, "{string}"), ValueData::String(string) => write!(f, "\"{string}\""),
ValueData::Struct(r#struct) => write!(f, "{struct}"), ValueData::Struct(r#struct) => write!(f, "{struct}"),
ValueData::Tuple(fields) => { ValueData::Tuple(fields) => {
write!(f, "(")?; write!(f, "(")?;