commit 6ddbe84bde04c7ec8b52e9641b490adedd8b22a2 parent 690d0ed1bb3c9d3b22e3b50aebbcd4bb3b3764d0 Author: Jake Howard <git@theorangeone.net> Date: Wed, 29 Dec 2021 16:29:42 +0000 Remove unnecessary return Diffstat:
M | src/util.rs | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util.rs b/src/util.rs @@ -444,7 +444,7 @@ pub fn format_datetime_http(dt: &DateTime<Local>) -> String { // HACK: HTTP expects the date to always be GMT (UTC) rather than giving an // offset (which would always be 0 in UTC anyway) - return expiry_time.to_rfc2822().replace("+0000", "GMT"); + expiry_time.to_rfc2822().replace("+0000", "GMT") } //