Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some cargo versions shipped with rust nightlies seem to be reporting their version without the cargo prefix, e.g.: ```$ cargo +nightly-2021-07-24 --version 1.55.0-nightly (cebef2951 2021-07-22)```. This commit relaxes the parsing slightly by adding an else condition that matches on the expression without the leading `cargo `. It's not an elegant solution, but it works for now.
- Loading branch information