Post #2227757
2025-11-19 12:13 UTC
@Mara@hachyderm.io I think this would absolutely be doable and a good idea. I would just prefer `unwrap_or_panic()` and `unwrap_or_panic_with(msg)` instead. Especially `expect(msg)` is just a bad name in my opinion. `unwrap()` sounds a bit too harmless but `expect()` really makes no sense to me.
But I think a clippy lint is enough and it could be an alias for a really long time to not break things.
Replies (0)
No replies.