Skip to main content

trim_base

Function trim_base 

Source
pub fn trim_base(base: &str) -> String
Expand description

An address with the trailing slashes taken off, so that joining a path to it never doubles one. A person pasting an address from a browser brings the slash with them.