From 140c1b1bfa44b3bef0b34192719bf44f58ca4e3b Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Mon, 18 Jan 2021 13:12:59 -0800 Subject: [PATCH] Small fixes --- src/utils.rs | 4 ++-- static/style.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils.rs b/src/utils.rs index 371f18d..0d32c03 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -473,9 +473,9 @@ pub async fn request(path: &str) -> Result { Err("Page not found".to_string()) } // If failed to send request - Err(e) => { + Err(_e) => { #[cfg(debug_assertions)] - dbg!(format!("{} - {}", url, e)); + dbg!(format!("{} - {}", url, _e)); Err("Couldn't send request to Reddit, this instance may be being rate-limited. Try another.".to_string()) } } diff --git a/static/style.css b/static/style.css index a4da54c..eac6035 100644 --- a/static/style.css +++ b/static/style.css @@ -849,7 +849,7 @@ input[type="submit"] { padding: 10px; margin: 4px 0 4px 5px; border-left: 4px solid var(--highlighted); - background: var(--post); + background: var(--outside); } .md a, .md a * {