Add quotes to string value display
This commit is contained in:
parent
8798efc0af
commit
0ed2733991
@ -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, "(")?;
|
||||||
|
Loading…
Reference in New Issue
Block a user