style: use 2-space indentation across entire codebase
Add rustfmt.toml with tab_spaces = 2 and reformat all source files, tests, and README code examples to use 2-space indentation.
This commit is contained in:
+5
-5
@@ -2,9 +2,9 @@ use onspring::OnspringClient;
|
||||
use wiremock::MockServer;
|
||||
|
||||
pub async fn setup() -> (MockServer, OnspringClient) {
|
||||
let mock_server = MockServer::start().await;
|
||||
let client = OnspringClient::builder("test-api-key")
|
||||
.base_url(mock_server.uri())
|
||||
.build();
|
||||
(mock_server, client)
|
||||
let mock_server = MockServer::start().await;
|
||||
let client = OnspringClient::builder("test-api-key")
|
||||
.base_url(mock_server.uri())
|
||||
.build();
|
||||
(mock_server, client)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user