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

Cleanup rust #26

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Conversation

Sciencentistguy
Copy link
Contributor

  • Borrow command + trail instead of creating a new Vec
  • Use the new std::process:ExitCode api instead of calling std::process:exit()
  • Produce better error messages on invalid picker output

src/main.rs Outdated Show resolved Hide resolved
@Artturin
Copy link
Member

Artturin commented Jul 3, 2022

Thank you

- Borrow command + trail instead of moving out of args
- Use the new std::process:ExitCode api instead of calling std::process:exit()
- Produce better error messages on invalid picker output
@Artturin
Copy link
Member

Artturin commented Jul 5, 2022

Been running this for 2 days and so far no issues

Always nice to see better rust

@Artturin Artturin merged commit f5732a6 into nix-community:master Jul 5, 2022
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