chore: Remove repetitive words (#8741)

Signed-off-by: one230six <723682061@qq.com>
This commit is contained in:
one230six 2024-03-14 11:58:51 +08:00 committed by GitHub
parent 1ec92dff2f
commit bfb0c6e534
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ unitTest({
);
```
`unitTest` is is a wrapper function that enhances `Deno.test()` API in several
`unitTest` is a wrapper function that enhances `Deno.test()` API in several
ways:
- ability to conditionally skip tests using `UnitTestOptions.skip`

View File

@ -270,7 +270,7 @@ where
// 3. Per-unit renaming
// 4. Top level renaming
//
// This is because the the top level map may contain a mapping which conflicts
// This is because the top level map may contain a mapping which conflicts
// with a map from one of the children.
//
// See https://github.com/swc-project/swc/pull/7615

View File

@ -385,7 +385,7 @@ fn test_remove_useless_ops2() {
test("Math.random(f() + g())", "f(),g();");
test("Math.random(f(),g(),h())", "f(),g(),h();");
// Calls to functions with unknown side-effects are are left.
// Calls to functions with unknown side-effects are left.
test_same("f();");
test_same("(function () { f(); })();");

View File

@ -50,7 +50,7 @@ impl Babelify for ClassDecl {
let is_abstract = self.class.is_abstract;
// NOTE: The body field needs a bit of special handling because babel
// represents the body as a node, whereas swc represents it as a vector of
// statements. This means that swc does not have a span corresponding the the
// statements. This means that swc does not have a span corresponding the
// class body base node for babel. To solve this, we generate a new span
// starting from the end of the identifier to the end of the body.
// For example,