I'm working through the MSLearn tutorial on Rust and in the topic on Strings I encounter this in an example that intentionally includes an error: "The compiler suggests that we can use the .to_string() function to make the conversion. In our examples, we use the String::from(&str) method."
So the tutorial writers must have had a reason for preferring String::from() over .to_string(). As a newcomer, should I assume that I should just stick with the one, hoping that someday I'll know enough to make my own choice? Or is this explainable?