correct max_depth option (#1876)
This commit is contained in:
@@ -1465,9 +1465,7 @@ impl<'a, Outputter: HCValueOutputter> HCPrinter<'a, Outputter> {
|
||||
|
||||
let print_struct = |printer: &mut Self, name: Atom, arity: usize| {
|
||||
if name == atom!("[]") && arity == 0 {
|
||||
if !printer.at_cdr("") {
|
||||
append_str!(printer, "[]");
|
||||
}
|
||||
append_str!(printer, "[]");
|
||||
} else if arity > 0 {
|
||||
if let Some(spec) = fetch_op_spec(name, arity, printer.op_dir) {
|
||||
printer.handle_op_as_struct(
|
||||
|
||||
Reference in New Issue
Block a user