2 ms·Like this? if let Ok(x) = my_func() { // ... } Or do you mean something else?by klodolph 4y agoLike this? if let Ok(x) = my_func() { // ... } Or do you mean something else?