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

Fix issue with is_some. #156

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mikemadden42
Copy link
Collaborator

This fixes an issue in the falcon_host_details example.

   Compiling rusty_falcon v0.4.0 (/Users/mmadden/src/rusty-falcon)
error[E0599]: no method named `is_some` found for struct `Vec<MsaspecPeriodError>` in the current scope
  --> examples/falcon_host_details.rs:54:24
   |
54 |     if response.errors.is_some() {
   |                        ^^^^^^^
   |
help: there is a method `is_sorted` with a similar name
   |
54 |     if response.errors.is_sorted() {
   |                        ~~~~~~~~~

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.

1 participant