Skip to content

Commit 884a533

Browse files
committed
use dictionary file and update Cosmos to "Cosmos DB"
1 parent e6a4c43 commit 884a533

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

.vscode/cspell.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,10 @@
104104
},
105105
{
106106
"filename": "sdk/cosmos/**",
107-
"words": [
108-
"colls",
109-
"pkranges",
110-
"sprocs",
111-
"udfs",
107+
"dictionaries": [
108+
"crates",
109+
"rust-custom",
110+
"cosmos"
112111
]
113112
}
114113
]

sdk/cosmos/.dict.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
colls
2+
pkranges
3+
sprocs
4+
udfs

sdk/cosmos/azure_data_cosmos/examples/cosmos_connect.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
use azure_data_cosmos::{clients::DatabaseClientMethods, CosmosClient, CosmosClientMethods};
22
use clap::Parser;
33

4-
/// A simple example to show connecting to a Cosmos Account and retrieving the properties of a database.
4+
/// A simple example to show connecting to a Cosmos DB Account and retrieving the properties of a database.
55
#[derive(Parser)]
66
pub struct Args {
7-
/// The Cosmos endpoint to connect to.
7+
/// The Cosmos DB endpoint to connect to.
88
endpoint: String,
99

1010
/// The database to fetch information for.

sdk/cosmos/azure_data_cosmos/src/clients/database_client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub trait DatabaseClientMethods {
4040
) -> azure_core::Result<azure_core::Response<DatabaseProperties>>;
4141
}
4242

43-
/// A client for working with a specific database in a Cosmos account.
43+
/// A client for working with a specific database in a Cosmos DB account.
4444
///
4545
/// You can get a `DatabaseClient` by calling [`CosmosClient::database_client()`](CosmosClient::database_client()).
4646
pub struct DatabaseClient {

sdk/cosmos/azure_data_cosmos/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ mod authorization_policy;
1111
pub mod clients;
1212
mod options;
1313

14-
/// Model types sent to and received from the Cosmos API.
14+
/// Model types sent to and received from the Cosmos DB API.
1515
pub mod models;
1616

1717
pub use clients::{CosmosClient, CosmosClientMethods};

0 commit comments

Comments
 (0)