Clippy
This commit is contained in:
parent
0d41e8a833
commit
4eeb280f0d
21 changed files with 44 additions and 44 deletions
|
|
@ -78,9 +78,8 @@ pub fn php_snippet<SOCKET: AsRef<Path>, STATIC: AsRef<Path>>(
|
|||
pub fn redir_snippet(target: &str) -> String {
|
||||
format!(
|
||||
"location / {{
|
||||
return 301 $scheme://{}$request_uri;
|
||||
}}",
|
||||
target
|
||||
return 301 $scheme://{target}$request_uri;
|
||||
}}"
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue