Skip to content

Commit 1878900

Browse files
committed
Formatting
1 parent 93e4bae commit 1878900

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

crates/tmc-testmycode-client/src/client.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,9 @@ impl TestMyCodeClient {
126126
return Err(TestMyCodeClientError::AlreadyAuthenticated);
127127
}
128128

129-
let auth_url = self
130-
.0
131-
.root_url
132-
.join("/oauth/token")
133-
.map_err(|e| TestMyCodeClientError::UrlParse(self.0.root_url.to_string() + "/oauth/token", e))?;
129+
let auth_url = self.0.root_url.join("/oauth/token").map_err(|e| {
130+
TestMyCodeClientError::UrlParse(self.0.root_url.to_string() + "/oauth/token", e)
131+
})?;
134132

135133
let credentials = api_v8::get_credentials(self, client_name)?;
136134

0 commit comments

Comments
 (0)