cargo clippy
This commit is contained in:
parent
7978706803
commit
51e52e5ed7
@ -47,7 +47,7 @@ impl AppConfig {
|
||||
}
|
||||
|
||||
pub fn full_url(&self, uri: &str) -> String {
|
||||
if uri.starts_with("/") {
|
||||
if uri.starts_with('/') {
|
||||
format!("{}{}", self.website_origin, uri)
|
||||
} else {
|
||||
format!("{}/{}", self.website_origin, uri)
|
||||
|
Loading…
Reference in New Issue
Block a user