Skip to content

Commit 9162038

Browse files
committed
fix clippy
1 parent 9437e1c commit 9162038

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

schema-engine/core/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ fn connector_for_connection_string(
8989
let connector = MongoDbSchemaConnector::new(params);
9090
Ok(Box::new(connector))
9191
}
92-
Some(_other) => Err(CoreError::url_parse_error(format!(
93-
"Expecting schemes postgres/postgresql/file/mysql/sqlserver/mongodb+srv/mongodb"
94-
))),
92+
Some(_other) => Err(CoreError::url_parse_error(
93+
"Expecting schemes postgres/postgresql/file/mysql/sqlserver/mongodb+srv/mongodb",
94+
)),
9595
None => Err(CoreError::user_facing(InvalidConnectionString {
9696
details: String::new(),
9797
})),

0 commit comments

Comments
 (0)