// checks if string could possibly be a valid URL, and if it isn't, formats it into a valid URLpub fn format_url(url: String) -> String {if url.contains("://") {url} else {format!("http://{}", url)}}
// checks if string could possibly be a valid URL, and if it isn't, formats it into a valid URLpub fn format_url(url: String) -> String {if url.contains("://") {url} else {format!("http://{}", url)}}