Skip to content

Commit 5d7d89f

Browse files
committed
Apply cargo fmt suggestions
1 parent b7e3d9d commit 5d7d89f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/module.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ impl Input {
155155
} else {
156156
// If prefixes are disabled, use an empty string for the prefix
157157
""
158-
}.to_string()
158+
}
159+
.to_string()
159160
}
160161

161162
/// Prepare an include statement that can be used to include the generated file from elsewhere.
@@ -390,7 +391,10 @@ mod tests {
390391
assembly.title,
391392
"A testing assembly with /special-characters*"
392393
);
393-
assert_eq!(assembly.id, "assembly_a-testing-assembly-with-special-characters");
394+
assert_eq!(
395+
assembly.id,
396+
"assembly_a-testing-assembly-with-special-characters"
397+
);
394398
assert_eq!(
395399
assembly.file_name,
396400
"assembly_a-testing-assembly-with-special-characters.adoc"
@@ -420,11 +424,7 @@ mod tests {
420424
fn check_detected_path() {
421425
let options = path_options();
422426

423-
let module = Module::new(
424-
ModuleType::Procedure,
425-
"Testing the detected path",
426-
&options,
427-
);
427+
let module = Module::new(ModuleType::Procedure, "Testing the detected path", &options);
428428

429429
assert_eq!(
430430
module.include_statement,

0 commit comments

Comments
 (0)