Is there a good mnemonic for remembering borrowed : owned types in Rust? &str : String &[u8] : Vec<u8> These are easy because I see them often. Knowing the owned equivalent of Path (it's PathBuf) is harder.