Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 73e1865

Browse files
committed
chore: little fix
1 parent b488915 commit 73e1865

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "leetcoderustapi"
3-
version = "1.0.4"
3+
version = "1.0.5"
44
authors = ["Kirill Melkozerov <k.melkozerov@gmail.com>"]
55
edition = "2021"
66
license = "MIT"

‎README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This Rust library provides a convenient way to interact with the LeetCode API, a
1111
Add the following line to your `Cargo.toml` file:
1212
```toml
1313
[dependencies]
14-
leetcoderustapi = "1.0.4"
14+
leetcoderustapi = "1.0.5"
1515
```
1616
## Usage
1717
### Authentication
@@ -114,13 +114,13 @@ async fn main() {
114114

115115
// Create empty list of the problems with provided name
116116
user_profile
117-
.create_fav_list("my_new_favorite_list")
117+
.create_list("my_new_favorite_list")
118118
.await
119119
.unwrap();
120120

121121
// Rename list
122122
user_profile
123-
.rename_fav_list("my_new_favorite_list", "hard_problems")
123+
.rename_list("my_new_favorite_list", "hard_problems")
124124
.await
125125
.unwrap();
126126

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /