Skip to content

Commit 7ab82d8

Browse files
authored
Spelling fixes. (#3461)
* Spelling fixes. * readd is re-add, not read * Revert change to expected text
1 parent a0b8d14 commit 7ab82d8

167 files changed

Lines changed: 287 additions & 287 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.bazelrc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ build:release_windows --copt="-fstrict-aliasing"
366366
build:windows --cxxopt='/std:c++20' --host_cxxopt='/std:c++20'
367367
build:windows --copt='/D_CRT_USE_BUILTIN_OFFSETOF' --host_copt='/D_CRT_USE_BUILTIN_OFFSETOF'
368368
build:windows --copt='/DWIN32_LEAN_AND_MEAN' --host_copt='/DWIN32_LEAN_AND_MEAN'
369-
# The `/std:c++20` argument is unused during boringssl compilation and we don't
369+
# The `/std:c++20` argument is unused during BoringSSL compilation and we don't
370370
# want a warning when compiling each file.
371371
build:windows --copt='-Wno-unused-command-line-argument' --host_copt='-Wno-unused-command-line-argument'
372372

‎build/deps/deps.jsonc‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"owner": "google",
1616
"repo": "boringssl",
1717
"branch": "master",
18-
// boringssl may subtly break backwards compatibility and behave differently than the latest
18+
// BoringSSL may subtly break backwards compatibility and behave differently than the latest
1919
// FIPS version, often by rejecting key values that it considers invalid/unsafe even though
20-
// they are still accepted by boringssl. Update with caution and only after confirming this
20+
// they are still accepted by BoringSSL. Update with caution and only after confirming this
2121
// is compatible with the downstream build.
2222
"freeze_commit": "6abe18402eb2a5e9b00158c6459646a948c53060"
2323
},

‎build/perfetto/perfetto_cfg.bzl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ PERFETTO_CONFIG = struct(
104104
proto_library_visibility = "//visibility:private",
105105

106106
# Allow Bazel embedders to change the visibility of the Go protos.
107-
# Go protos have all sorts of strange behaviour in Google3 so need special
107+
# Go protos have all sorts of strange behavior in Google3 so need special
108108
# handling as the rules for other languages do not work for Go.
109109
go_proto_library_visibility = "//visibility:private",
110110

‎build/wd_ts_bundle.bzl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def wd_ts_bundle(
8585
)
8686

8787
if lint:
88-
# todo: lint js_srcs too, not just ts_srcs
88+
# TODO: lint js_srcs too, not just ts_srcs
8989
eslint_bin.eslint_test(
9090
size = "large",
9191
name = name + "@eslint",

‎docs/benchmarking.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ We use a combination of micro and macro benchmarks for performance testing worke
55
Benchmarks should be built using `--config=benchmark` configuration, which is builds a release
66
binary with additional debug info.
77

8-
To obtain most consistent results it is recommended to disable cpu frequency scaling
8+
To obtain most consistent results it is recommended to disable CPU frequency scaling
99
(use "performance" governor https://wiki.debian.org/CpuFrequencyScaling)
1010

1111
# Micro benchmarks

‎samples/module_fallback/fallback.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const { createServer } = require('http');
44

55
const server = createServer((req, res) => {
6-
// The response from the fallback service must be a vaid JSON
6+
// The response from the fallback service must be a valid JSON
77
// serialization of a Worker::Module config.
88

99
// The x-resolve-method tells us if the module was imported or required.

‎src/cloudflare/internal/pipeline-transform.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class PipelineTransformImpl extends entrypoints.WorkerEntrypoint {
6161
#batch?: Batch;
6262
#initalized: boolean = false;
6363

64-
// stub overriden on the sub class
64+
// stub overridden on the sub class
6565
// eslint-disable-next-line @typescript-eslint/require-await
6666
public async transformJson(_data: object[]): Promise<object[]> {
6767
throw new Error('should be implemented by parent');
@@ -70,7 +70,7 @@ export class PipelineTransformImpl extends entrypoints.WorkerEntrypoint {
7070
// called by the dispatcher which then calls the subclass methods
7171
// @ts-expect-error thinks ping is never used
7272
private _ping(): Promise<void> {
73-
// making sure the function was overriden by an implementing subclass
73+
// making sure the function was overridden by an implementing subclass
7474
if (this.transformJson !== PipelineTransformImpl.prototype.transformJson) {
7575
return Promise.resolve();
7676
} else {

‎src/cloudflare/internal/test/d1/d1-api-test-common.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import * as assert from 'node:assert';
66

77
// Recurse through nested objects/arrays looking for 'anything' and deleting that
8-
// key/value from both objects. Gives us a way to get expect.toMatchObject behaviour
8+
// key/value from both objects. Gives us a way to get expect.toMatchObject behavior
99
// with only deepEqual
1010
const anything = Symbol('anything');
1111
const deleteAnything = (expected, actual) => {

‎src/cloudflare/internal/test/d1/d1-api-test-with-sessions.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ async function testD1ApiWithSessionsOldTokensSkipped(DB, envD1MockFetcher) {
144144
tokensFromEyeball[1],
145145
// We skip the commit token "------", since the previously received one was more recent.
146146
tokensFromEyeball[1],
147-
// The binding then sents back the next largest value.
147+
// The binding then sends back the next largest value.
148148
tokensFromEyeball[3],
149149
];
150150
assert.deepEqual(tokensFromBinding, expectedTokensFromBinding);

‎src/cloudflare/tsconfig.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"moduleResolution": "node",
2222
"declaration": true,
2323
"types": [
24-
// todo: consume generated workerd types
24+
// TODO: consume generated workerd types
2525
// "@cloudflare/workers-types"
2626
],
2727
"paths": {

0 commit comments

Comments
 (0)