git.delta.rocks / jrsonnet / refs/commits / 847c11f5901f

difftreelog

fix manifest output should put spaces in brackets

Yaroslav Bolyukin2021-01-12parent: #6341ead.patch.diff
in: master

1 file changed

modifiedcrates/jrsonnet-evaluator/src/builtin/manifest.rsdiffbeforeafterboth
74 } else if mtype == ManifestType::Std {74 } else if mtype == ManifestType::Std {
75 buf.push_str("\n\n");75 buf.push_str("\n\n");
76 buf.push_str(cur_padding);76 buf.push_str(cur_padding);
77 } else if mtype == ManifestType::ToString {77 } else if mtype == ManifestType::ToString || mtype == ManifestType::Manifest {
78 buf.push(' ');78 buf.push(' ');
79 }79 }
80 buf.push(']');80 buf.push(']');
112 } else if mtype == ManifestType::Std {112 } else if mtype == ManifestType::Std {
113 buf.push_str("\n\n");113 buf.push_str("\n\n");
114 buf.push_str(cur_padding);114 buf.push_str(cur_padding);
115 } else if mtype == ManifestType::ToString {115 } else if mtype == ManifestType::ToString || mtype == ManifestType::Manifest {
116 buf.push(' ');116 buf.push(' ');
117 }117 }
118 buf.push('}');118 buf.push('}');