How to repeatedly call function until it returns Some and avoid .unwrap()?
Channel: Peter Schneider
Date: 2023-11-14

How to repeatedly call function until it returns Some and avoid .unwrap()?
I hope you found a solution that worked for you :)
 The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA  
Thanks to all those great people for their contributions!

 (stackoverflow.com/users/6838755/alex-bieg)Alex Bieg 
 (stackoverflow.com/users/8376184/fzs)FZs 
 A special thanks goes out to the (https://stackoverflow.com/questions/77466935/how-to-repeatedly-call-function-until-it-returns-some-and-avoid-unwrap)Stackexchange community 
 
 I wish you all a wonderful day! Stay safe :)
 
  rust