From e19e5ef0b72368c92525df22b7128afb8ea1a21c Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Tue, 22 Nov 2022 11:13:05 -0600 Subject: [PATCH] Remove unnecessary return statement. --- src/backends/web.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/web.rs b/src/backends/web.rs index 578a213..e2fb0c4 100644 --- a/src/backends/web.rs +++ b/src/backends/web.rs @@ -248,7 +248,7 @@ impl Backend for Web { return Ok(()); } } - return Err(Error::OperationFailed); + Err(Error::OperationFailed) } else { Err(Error::NoneError) }