Skip to content

Commit f6da9e1

Browse files
authored
Fix typos (#2812)
Signed-off-by: Viktor Szépe <viktor@szepe.net>
1 parent b07f22e commit f6da9e1

61 files changed

Lines changed: 88 additions & 88 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.

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
name: run callgrind benchmarks
178178
# DON'T run on benchmarks-runner, using docker on a self-hosted runner has
179179
# been broken for 4 years: https://github.com/actions/runner/issues/434 .
180-
# Fortunately, we can run on standard Github Actions infra because we don't care
180+
# Fortunately, we can run on standard GitHub Actions infra because we don't care
181181
# about other stuff running on the machine!
182182
# runs-on: benchmarks-runner
183183
runs-on: ubuntu-latest
@@ -236,7 +236,7 @@ jobs:
236236
# summary PR" step). otherwise, we can use a fully shallow checkout
237237
fetch-depth: ${{ env.PR_NUMBER && 1 || 2 }}
238238

239-
- name: Unbork Github Actions state
239+
- name: Unbork GitHub Actions state
240240
shell: bash
241241
run: |
242242
echo "Letting anybody touch our git repo, in order to avoid breaking other jobs"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
&nbsp;
5151
<a href="https://twitter.com/spacetime_db"><img height="25" src="./images/social/twitter.svg" alt="Twitter"></a>
5252
&nbsp;
53-
<a href="https://github.com/clockworklabs/spacetimedb"><img height="25" src="./images/social/github.svg" alt="Github"></a>
53+
<a href="https://github.com/clockworklabs/spacetimedb"><img height="25" src="./images/social/github.svg" alt="GitHub"></a>
5454
&nbsp;
5555
<a href="https://twitch.tv/SpacetimeDB"><img height="25" src="./images/social/twitch.svg" alt="Twitch"></a>
5656
&nbsp;

crates/bench/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Which will build the docker image and run the callgrind benchmarks inside of it.
2828

2929
You can also comment "benchmarks please" or "callgrind please" on a pull request in the SpacetimeDB repository to run the criterion/callgrind benchmarks on that PR. The results will be posted in a comment on the PR.
3030

31-
This is coordinated using the benchmarks Github Actions: see [`../../.github/workflows/benchmarks.yml`](../../.github/workflows/benchmarks.yml), and
31+
This is coordinated using the benchmarks GitHub Actions: see [`../../.github/workflows/benchmarks.yml`](../../.github/workflows/benchmarks.yml), and
3232
[`../../.github/workflows/callgrind_benchmarks.yml`](../../.github/workflows/callgrind_benchmarks.yml).
3333
These also rely on the benchmarks-viewer application (https://github.com/clockworklabs/benchmarks-viewer).
3434

crates/bindings-csharp/BSATN.Codegen/Utils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public override string ToString()
318318
.AppendLine(" {");
319319
}
320320

321-
// Loop through the full parent type hiearchy, starting with the outermost.
321+
// Loop through the full parent type hierarchy, starting with the outermost.
322322
foreach (
323323
var (i, typeScope) in Scope.typeScopes.Select((ts, i) => (i, ts)).Reverse()
324324
)

crates/bindings-csharp/Runtime/bindings.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ EXPORT(int16_t, __call_reducer__,
165165

166166
#define WASI_NAME(name) __imported_wasi_snapshot_preview1_##name
167167

168-
// Shim for WASI calls that always unconditionaly succeeds.
168+
// Shim for WASI calls that always unconditionally succeeds.
169169
// This is suitable for most (but not all) WASI functions used by .NET.
170170
#define WASI_SHIM(name, params) \
171171
int32_t WASI_NAME(name) params { return 0; }

crates/bindings-sys/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ pub mod raw {
519519
/// ```
520520
pub fn bytes_source_read(source: BytesSource, buffer_ptr: *mut u8, buffer_len_ptr: *mut usize) -> i16;
521521

522-
/// Logs at `level` a `message` message occuring in `filename:line_number`
522+
/// Logs at `level` a `message` message occurring in `filename:line_number`
523523
/// with `target` being the module path at the `log!` invocation site.
524524
///
525525
/// These various pointers are interpreted lossily as UTF-8 strings with a corresponding `_len`.
@@ -1039,7 +1039,7 @@ pub enum LogLevel {
10391039
Panic = raw::LOG_LEVEL_PANIC,
10401040
}
10411041

1042-
/// Log at `level` a `text` message occuring in `filename:line_number`
1042+
/// Log at `level` a `text` message occurring in `filename:line_number`
10431043
/// with [`target`] being the module path at the `log!` invocation site.
10441044
///
10451045
/// [`target`]: https://docs.rs/log/latest/log/struct.Record.html#method.target

crates/bindings/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ The following changes are allowed, but may break clients:
561561
- ⚠️ **Changing or removing reducers**. Clients that attempt to call the old version of a changed reducer will receive runtime errors.
562562
- ⚠️ **Changing tables from public to private**. Clients that are subscribed to a newly-private table will receive runtime errors.
563563
- ⚠️ **Removing `#[primary_key]` annotations**. Non-updated clients will still use the old `#[primary_key]` as a unique key in their local cache, which can result in non-deterministic behavior when updates are received.
564-
- ⚠️ **Removing indexes**. This is only breaking in some situtations.
564+
- ⚠️ **Removing indexes**. This is only breaking in some situations.
565565
The specific problem is subscription queries <!-- TODO: clientside link --> involving semijoins, such as:
566566
```sql
567567
SELECT Employee.*

crates/bindings/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ pub use spacetimedb_bindings_macro::client_visibility_filter;
201201
/// Tables are private by default. This means that clients cannot read their contents
202202
/// or see that they exist.
203203
///
204-
/// If you'd like to make your table publically accessible by clients,
204+
/// If you'd like to make your table publicly accessible by clients,
205205
/// put `public` in the macro arguments (e.g.
206206
/// `#[spacetimedb::table(public)]`). You can also specify `private` if
207207
/// you'd like to be specific.

crates/bindings/src/rng.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl ReducerContext {
6161
/// [`rand::Rng`] in order to access many useful random algorithms.
6262
///
6363
/// `StdbRng` uses the same PRNG as `rand`'s [`StdRng`]. Note, however, that
64-
/// because it is seeded from a publically-known timestamp, it is not
64+
/// because it is seeded from a publicly-known timestamp, it is not
6565
/// cryptographically secure.
6666
///
6767
/// You may be looking for a level of reproducibility that's finer-grained

crates/bindings/tests/deps.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Snapshot testing for the dependency tree of the `bindings` crate - we want
2-
//! to make sure we don't unknowningly add a bunch of dependencies here,
2+
//! to make sure we don't unknowingly add a bunch of dependencies here,
33
//! slowing down compilation for every spacetime module.
44
55
// We need to remove the `cpufeatures` and `libc` dependencies from the output, it added on `arm` architecture:

0 commit comments

Comments
 (0)