Skip to content

fix: Readme Typo#15

Open
milldr wants to merge 2 commits into
deontologician:mainfrom
milldr:patch-1
Open

fix: Readme Typo#15
milldr wants to merge 2 commits into
deontologician:mainfrom
milldr:patch-1

Conversation

@milldr

@milldr milldr commented Dec 29, 2022

Copy link
Copy Markdown

What

corrected complete() to complete_prompt()

Why

Incorrect method name:

error[E0599]: no method named `complete` found for struct `Client` in the current scope
  --> src/main.rs:11:16
   |
11 |         client.complete(prompt.as_str()).await?
   |                ^^^^^^^^ help: there is a method with a similar name: `complete_prompt`

@deontologician deontologician left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants