Skip to content

Commit f4eca86

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e2a0f43 commit f4eca86

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/render/tags.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,12 +1139,13 @@ impl Extends {
11391139
);
11401140
let template_path = match relative_path {
11411141
Err(error) => {
1142-
return Err(TemplateSyntaxError::with_source_code(error.into(), template.to_string()));
1142+
return Err(TemplateSyntaxError::with_source_code(
1143+
error.into(),
1144+
template.to_string(),
1145+
));
11431146
}
11441147
Ok(Some(_)) => {
1145-
return Err(TemplateDoesNotExist::new_err((
1146-
template_path.to_string(),
1147-
)));
1148+
return Err(TemplateDoesNotExist::new_err((template_path.to_string(),)));
11481149
}
11491150
Ok(None) => template_path.to_string(),
11501151
};

0 commit comments

Comments
 (0)