Skip to content

Commit 7599614

Browse files
committed
fixed indentation
1 parent a45297c commit 7599614

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/canonicalize.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4349,14 +4349,14 @@ impl CanonicalizeContext {
43494349
ch: acts_as_ch,
43504350
op: CanonicalizeContext::find_operator(Some(self), temp_mo, previous_op,
43514351
top(&parse_stack).last_child_in_mrow(), next_node),
4352-
_phantom: PhantomData,
4352+
_phantom: PhantomData,
43534353
};
43544354
} else {
43554355
current_op = OperatorPair{
43564356
ch: as_text(base_of_child),
43574357
op: CanonicalizeContext::find_operator(Some(self), base_of_child, previous_op,
43584358
top(&parse_stack).last_child_in_mrow(), next_node),
4359-
_phantom: PhantomData,
4359+
_phantom: PhantomData,
43604360
};
43614361

43624362
// deal with vertical bars which might be infix, open, or close fences

src/pretty_print.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ pub fn format_element(e: Element, indent: usize) -> String {
3636
let content = children.iter().fold(String::new(), |mut acc, c| {
3737
if let ChildOfElement::Text(t) = c {
3838
acc.push_str(as_str!(t.text()));
39-
}
40-
acc
39+
}
40+
acc
4141
});
4242
return format!("{}{}</{}{}>\n", answer, &handle_special_chars(&content), namespace, as_qname!(e.name()).local_part());
4343
// for child in children {

0 commit comments

Comments
 (0)