I have a Cow:
use std::borrow::Cow; // Cow = clone on write
let example = Cow::from("def")
I would like to get the def back out of it, in order to append it to another String:
let mut alphabet: String = "ab".to_string();
alphabet.push_str("c");
// here I would like to do:
alphabet.push_str(example);
This does not work and I don't see the appropriate method in Cow to get the &str or String back out.