Skip to content

Commit 77ed9e3

Browse files
author
Marek Suchánek
committed
Reformat the code with rustfmt
1 parent 31d5427 commit 77ed9e3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ fn process_module_type(
116116
modules_from_type
117117
}
118118

119-
120119
// These tests act as pseudo-integration tests. They let the top-level functions generate
121120
// each module type and then they compare the generated content with a pre-generated specimen
122121
// to check that we introduce no changes unknowingly.
@@ -144,7 +143,8 @@ mod tests {
144143
let options = basic_options();
145144
let assembly = Module::new(mod_type, mod_title, &options);
146145

147-
let pre_generated = include_str!("../data/generated/assembly_testing-that-an-assembly-forms-properly.adoc");
146+
let pre_generated =
147+
include_str!("../data/generated/assembly_testing-that-an-assembly-forms-properly.adoc");
148148

149149
assert_eq!(assembly.text, pre_generated);
150150
}
@@ -183,7 +183,8 @@ mod tests {
183183
let options = basic_options();
184184
let reference = Module::new(mod_type, mod_title, &options);
185185

186-
let pre_generated = include_str!("../data/generated/ref_the-lines-in-a-reference-module.adoc");
186+
let pre_generated =
187+
include_str!("../data/generated/ref_the-lines-in-a-reference-module.adoc");
187188

188189
assert_eq!(reference.text, pre_generated);
189190
}

0 commit comments

Comments
 (0)