aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-04-17 06:10:41 +0000
committerFuwn <[email protected]>2023-04-17 06:10:41 +0000
commit479b780a393daec04a45f9c7565d2dc141cfcb17 (patch)
tree02786d20a040a8cbe49959a9661a36d79f8f1ebf /src
parentfeat(git): ignore vscode files (diff)
downloadseptember-479b780a393daec04a45f9c7565d2dc141cfcb17.tar.xz
september-479b780a393daec04a45f9c7565d2dc141cfcb17.zip
style(response): format style
Diffstat (limited to 'src')
-rw-r--r--src/response.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/response.rs b/src/response.rs
index 5f56878..3b88bcc 100644
--- a/src/response.rs
+++ b/src/response.rs
@@ -160,8 +160,7 @@ For example: to proxy "gemini://fuwn.me/uptime", visit "/proxy/fuwn.me/uptime".<
for stylesheet in stylesheets {
html_context.push_str(&format!(
- "<link rel=\"stylesheet\" type=\"text/css\" href=\"{}\">",
- stylesheet,
+ "<link rel=\"stylesheet\" type=\"text/css\" href=\"{stylesheet}\">",
));
}
}
@@ -170,8 +169,7 @@ For example: to proxy "gemini://fuwn.me/uptime", visit "/proxy/fuwn.me/uptime".<
// variable.
if let Ok(favicon) = var("FAVICON_EXTERNAL") {
html_context.push_str(&format!(
- "<link rel=\"icon\" type=\"image/x-icon\" href=\"{}\">",
- favicon
+ "<link rel=\"icon\" type=\"image/x-icon\" href=\"{favicon}\">",
));
}