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: fix compile with battery feature disabled #1509

Merged
merged 1 commit into from Jul 24, 2020

Conversation

davidkna
Copy link
Member

Description

Borrow PROMPT_ORDER so the length no longer needs to be set.

Motivation and Context

Closes #1508

Screenshots (if appropriate):

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux
  • I have tested using Windows

Checklist:

  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@matchai matchai merged commit 869a6f3 into starship:master Jul 24, 2020
@davidkna davidkna deleted the patch-3 branch July 24, 2020 22:09
@xaocon
Copy link

xaocon commented Jul 24, 2020

Thanks for the quick work. I'm a novice, didn't know a const could be a borrow.

chipbuster pushed a commit to chipbuster/starship that referenced this pull request Jan 14, 2021
dagbrown pushed a commit to dagbrown/starship that referenced this pull request Oct 22, 2021
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.

Won't compile without battery feature
3 participants