3 ms·When should I use String vs. andstr in Rust?7 points by tempodox 2y ago1oooqooq 2y agomeh. just use str and &str for borrowing (params, return). String is so useless i just instantiate as needed and keep in a single scope and back to str before leaving.