Skip to content

Commit b727043

Browse files
committed
change KeyBuilder::create to KeyBuilder::new
1 parent a2ccfd8 commit b727043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::{client::Client, errors::Error};
55

66
/// Represent a [meilisearch key](https://docs.meilisearch.com/reference/api/keys.html#returned-fields)
77
/// You can get a [Key] from the [Client::get_key] method.
8-
/// Or you can create a [Key] with the [KeyBuilder::create] or [Client::create_key] methods.
8+
/// Or you can create a [Key] with the [KeyBuilder::new] or [Client::create_key] methods.
99
#[derive(Debug, Serialize, Deserialize, Clone)]
1010
#[serde(rename_all = "camelCase")]
1111
pub struct Key {

0 commit comments

Comments
 (0)