1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-20 12:45:41 +02:00

awc: Rename Client::build to Client::builder (#1665)

This commit is contained in:
Igor Aleksanov
2020-09-11 11:24:39 +03:00
committed by GitHub
parent 22089aff87
commit 121075c1ef
11 changed files with 19 additions and 16 deletions

View File

@@ -166,8 +166,9 @@ impl Client {
Client::default()
}
/// Build client instance.
pub fn build() -> ClientBuilder {
/// Create `Client` builder.
/// This function is equivalent of `ClientBuilder::new()`.
pub fn builder() -> ClientBuilder {
ClientBuilder::new()
}