From b610d65a8d430c6932b7413927782454990c6184 Mon Sep 17 00:00:00 2001 From: William G Underwood <42812654+WGUNDERWOOD@users.noreply.github.com> Date: Thu, 24 Oct 2024 16:44:08 +0100 Subject: [PATCH] fmt --- src/indent.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/indent.rs b/src/indent.rs index eacc895..48c9325 100644 --- a/src/indent.rs +++ b/src/indent.rs @@ -101,7 +101,12 @@ fn get_back(line: &str, pattern: &Pattern, state: &State) -> i8 { } /// Calculate indentation properties of the current line -fn get_indent(line: &str, prev_indent: &Indent, pattern: &Pattern, state: &State) -> Indent { +fn get_indent( + line: &str, + prev_indent: &Indent, + pattern: &Pattern, + state: &State, +) -> Indent { let diff = get_diff(line, pattern); let back = get_back(line, pattern, state); let actual = prev_indent.actual + diff;