diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-06-05 20:35:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 00:35:39 +0000 |
commit | 5c55f2b4fb9f386d5589e4cbd4c513ecb1bae50b (patch) | |
tree | aeffd55113b13518b28116f3048aaff572e4cae5 /ext/web/lib.rs | |
parent | 8829a1d3620cab23f7ac724feeae60c9de6ebad2 (diff) |
chore: upgrade to Rust 1.70.0 (#19345)
Co-authored-by: linbingquan <695601626@qq.com>
Diffstat (limited to 'ext/web/lib.rs')
-rw-r--r-- | ext/web/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/lib.rs b/ext/web/lib.rs index adbc9f262..b1e0dd5d8 100644 --- a/ext/web/lib.rs +++ b/ext/web/lib.rs @@ -142,7 +142,7 @@ fn op_base64_atob(mut s: ByteString) -> Result<ByteString, AnyError> { fn forgiving_base64_decode_inplace( input: &mut [u8], ) -> Result<usize, AnyError> { - let error: _ = + let error = || DomExceptionInvalidCharacterError::new("Failed to decode base64"); let decoded = base64_simd::forgiving_decode_inplace(input).map_err(|_| error())?; |