Copy-on-write and clone discipline
Cow<T> borrows until mutation is needed, then owns. Avoid cloning String in hot paths — accept &str or AsRef<str> instead.
Premature optimization is evil. Post-borrow-checker optimization is a career.
Output
Press Run to execute your code.