cashmere

cashmere

how to use if let in rust

in this case it means: if something (webhookerror) then for example to something with this webhookerror

if let Error(webhook_error) = fn() {
    todo!()
    return webhook_error
}