Skip to content

Commit 2398ac7

Browse files
committed
rustfmt
1 parent ab298b9 commit 2398ac7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/rules.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ pub fn metadata_rules() -> FnResult<Json<MetaData>> {
1414
#[plugin_fn]
1515
pub fn rules(Json(args): Json<Vec<Value>>) -> FnResult<String> {
1616
if args.len() != 0 {
17-
return Err(WithReturnCode::new(anyhow::anyhow!("Usage: {{std.---}}"), 1));
17+
return Err(WithReturnCode::new(
18+
anyhow::anyhow!("Usage: {{std.---}}"),
19+
1,
20+
));
1821
}
1922
Ok(String::from("<hr />"))
2023
}

0 commit comments

Comments
 (0)