cargo clippy

This commit is contained in:
2022-04-19 11:03:10 +02:00
parent 65b5c812b1
commit b5a2f1abcb
2 changed files with 4 additions and 4 deletions

View File

@ -55,6 +55,6 @@ impl AppConfig {
}
pub fn domain_name(&self) -> &str {
self.website_origin.split('/').skip(2).next().unwrap_or(APP_NAME)
self.website_origin.split('/').nth(2).unwrap_or(APP_NAME)
}
}