In the "Bookmarked Patchsets" screen, the program panics if there are no bookmarked patchsets, and the user hits ENTER as if it were to choose a bookmarked patchset.
How to reproduce:
Go to the "Bookmarked Patchsets" screen (you must have at least one bookmarked patchset for this)
Unbookmark every patchset to end up with an empty list (see screenshot 1 below)
Hit the ENTER key
Notice that the program panics (see screenshot 2 below)
Expected behavior:
This panic shouldn't happen. Actually, it would be better to notify the user that there are no bookmarked patchsets and revert to the "Mailing List Selection" screen (or just revert to it).
Description:
In the "Bookmarked Patchsets" screen, the program panics if there are no bookmarked patchsets, and the user hits
ENTER
as if it were to choose a bookmarked patchset.How to reproduce:
ENTER
keyExpected behavior:
This panic shouldn't happen. Actually, it would be better to notify the user that there are no bookmarked patchsets and revert to the "Mailing List Selection" screen (or just revert to it).
Screenshots
Screenshot 1:
Screenshot 2:
Setup:
rustc
version: 1.79.0cargo
version: 1.79.0