mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix: typo in error from GPUBuffer.prototype.mapAsync (#22913)
This commit is contained in:
parent
10e592f954
commit
cad79af785
2 changed files with 2 additions and 2 deletions
|
@ -2040,7 +2040,7 @@ class GPUBuffer {
|
|||
device.pushErrorPromise(promise);
|
||||
const err = await promise;
|
||||
if (err) {
|
||||
throw new DOMException("validation error occured", "OperationError");
|
||||
throw new DOMException("validation error occurred", "OperationError");
|
||||
}
|
||||
this[_state] = "mapped";
|
||||
this[_mappingRange] = [offset, offset + rangeSize];
|
||||
|
|
|
@ -723,7 +723,7 @@ pub fn wildcard_match_detailed(
|
|||
);
|
||||
output_lines.push(colors::gray(annotate_whitespace(search_text)));
|
||||
output_lines
|
||||
.push("==== HAD UNKNOWN PRECEEDING TEXT ====".to_string());
|
||||
.push("==== HAD UNKNOWN PRECEDING TEXT ====".to_string());
|
||||
output_lines
|
||||
.push(colors::red(annotate_whitespace(¤t_text[..index])));
|
||||
return WildcardMatchResult::Fail(output_lines.join("\n"));
|
||||
|
|
Loading…
Reference in a new issue