diff options
| author | Leo K <crowlkats@toaxl.com> | 2021-10-05 22:38:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-05 22:38:27 +0200 |
| commit | 77a00ce1fb4ae2523e22b9b84ae09a0200502e38 (patch) | |
| tree | 0027a2ff3dbff1e2b0c3afa7ce0f0e54805c7d62 /core/runtime.rs | |
| parent | d67e85850688117e116bbf7054e80f30fe07afe6 (diff) | |
chore: various op cleanup (#12329)
Diffstat (limited to 'core/runtime.rs')
| -rw-r--r-- | core/runtime.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/runtime.rs b/core/runtime.rs index 305052e9a..e4fe8cd6c 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -1919,11 +1919,7 @@ pub mod tests { #[test] fn test_error_builder() { - fn op_err( - _: &mut OpState, - _: (), - _: Option<ZeroCopyBuf>, - ) -> Result<(), AnyError> { + fn op_err(_: &mut OpState, _: (), _: ()) -> Result<(), AnyError> { Err(custom_error("DOMExceptionOperationError", "abc")) } |
