Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc question #771

Closed
lengyijun opened this issue Mar 28, 2024 · 1 comment · Fixed by #814
Closed

doc question #771

lengyijun opened this issue Mar 28, 2024 · 1 comment · Fixed by #814

Comments

@lengyijun
Copy link

https://docs.rs/rustyline/latest/src/rustyline/history.rs.html#72

What' s difference between return Ok(true) and Ok(false)

@gwenn
Copy link
Collaborator

gwenn commented Mar 28, 2024

Ok(false) is for duplicates or blank lines or ...

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

Successfully merging a pull request may close this issue.

2 participants