#rustlang hot take: We should rename
Uncategorized
1
Posts
1
Posters
0
Views
-
#rustlang hot take: We should rename .unwrap() to .or_panic(). (And .expect() to .or_panic_with().) "Unwrap" is a terrible name for the panicking function, especially since we also have things like .unwrap_or() and .unwrap_or_default() which never panic.
-
undefined oblomov@sociale.network shared this topic