

There is a function that does what you are asking for.
.unarap_or()
It either unwraps the value or uses a provided default. Personally, i think unwrap() should be renamed unwrap_or_panic() to follow existing conventions and prevent confusion for non-rust programmers.




I use:
1337x Bangumimoe Bitmagnet Bitsearch BT.etree CrackingPatchin Ebookbay Kickasstorrents Limetorrents Linuxtracker Nipponsei Nyaa.si Shana Project Subsplease Uindex
But my prowlarr stats show that only these are used much
1337x ~ 500 grabs Bitsearch ~ 400 grabs Limetorrents ~ 250 grabs Kickasstorrents ~ 240 grabs Nyaa.si ~ 150 grabs Bitmagnet ~ 100 grabs