Skip to content

Commit 970bcb1

Browse files
committed
Run format
1 parent 866ffd4 commit 970bcb1

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

sdk/data_cosmos/examples/user_00.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ async fn main() -> Result<(), Box<dyn Error + Send + Sync>> {
2929
let database_client = client.into_database_client(database_name);
3030
let user_client = database_client.clone().into_user_client(user_name.clone());
3131

32-
let create_user_response = user_client
33-
.create_user()
34-
.into_future()
35-
.await?;
32+
let create_user_response = user_client.create_user().into_future().await?;
3633
println!("create_user_response == {:#?}", create_user_response);
3734

3835
let users = Box::pin(database_client.list_users(Context::new(), ListUsersOptions::new()))

sdk/data_cosmos/src/operations/create_permission.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ impl std::future::IntoFuture for CreatePermissionBuilder {
8181
fn into_future(self) -> Self::Future {
8282
Self::into_future(self)
8383
}
84-
}
84+
}

0 commit comments

Comments
 (0)