why is str a type if only &str is used?
I've only found either &str or String being used in all snippets of code I've seen so far. if so, why is str by itself a type? can't the reference be implied? sorry if this is a stupid question. I'm a beginner, but I really wanted to get this out of my head.