mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-07-18 18:44:30 -04:00
[GH-ISSUE #139] Add and resolve clippy lints to prevent unwrap and expect functions #73
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @quexeky on GitHub (Sep 3, 2025).
Original GitHub issue: https://github.com/Drop-OSS/drop-app/issues/139
Could also potentially include preventing panic!(), although there may be some use for panic!() still:
@DecDuck commented on GitHub (Sep 4, 2025):
I think we should just use
.expect()when we want to crash. For a non-library application like this, panicking when we want to hard crash is the way to go.Add and resolve clippy lints to prevent unwrap and expect functionsto [GH-ISSUE #139] Add and resolve clippy lints to prevent unwrap and expect functions