4 ms·
Why would you need to use a runtime string template? change new and base_url to accept an optional host parameter, if host is set return format!("{}://{}",
by justinsaccount 10y ago
Why would you need to use a runtime string template? change new and base_url to accept an optional host parameter, if host is set return
format!("{}://{}", match ssl..., host)
otherwise run the existing codepath and return the amazonaws.com string.