match cow of {
Cow::Owned(o) -> // do something with the owned thingy
Cow::Borrowed(b) -> // do something with the borrowed thingy (keeping it's lifetime)
}
I can't find a way to do that in beef Is there a chance to get a function along the lines of:
In a few places I'm using code like
I can't find a way to do that in
beef
Is there a chance to get a function along the lines of: