Function to_base_url

Source
fn to_base_url(url: Url) -> Url
Expand description

Helper function to create a base URL.

ยงPanics

If the URL cannot be a base URL.