fix ci around autofmt

This commit is contained in:
Jonathan Kelley committed 2023-01-14 00:42:43 -08:00
1 parent 270de7a0d2
commit aa0f6812fa
6 files changed
+35 -21

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ impl Writer<'_> {
// check if we have a lot of attributes
let attr_len = self.is_short_attrs(attributes);
let is_short_attr_list = attr_len < 80;
let is_short_attr_list = (attr_len + self.out.indent * 4) < 80;
let children_len = self.is_short_children(children);
let is_small_children = children_len.is_some();