remove repetitive words (#2046)

Signed-off-by: studystill <chenghuiyue@outlook.com>
This commit is contained in:
studystill authored and GitHub committed 2024-03-11 09:49:26 -05:00
1 parent 70f97ec787
commit 3a21ac5710
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -487,7 +487,7 @@ async fn handle_server_fns_inner(
// it it accepts text/html (i.e., is a plain form post) and doesn't already have a
// Location set, then redirect to to Referer
// Location set, then redirect to Referer
if accepts_html {
if let Some(referrer) = referrer {
let has_location = res.headers().get(LOCATION).is_some();