Add notes and examples about non-intuitive PathBuf::set_extension behavior
#104298
+30
−3
PathBuf::set_extension behavior
#104298