Skip to content

Commit

Permalink
fix write_canonical on strings (#1233)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthom committed Feb 6, 2022
1 parent 7b8001d commit 2f0718e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/heap_print.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1148,10 +1148,6 @@ impl<'a, Outputter: HCValueOutputter> HCPrinter<'a, Outputter> {
if end_cell == empty_list_as_cell!() {
append_str!(self, "[]");
} else {
if self.outputter.ends_with(",") {
self.outputter.truncate(self.outputter.len() - ','.len_utf8());
}

self.state_stack.push(TokenOrRedirect::FunctorRedirect(max_depth));
self.iter.push_stack(end_h);
}
Expand Down

0 comments on commit 2f0718e

Please sign in to comment.