summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/HACKING.md2
-rw-r--r--rust/README.md2
-rw-r--r--rust/TODO2
3 files changed, 3 insertions, 3 deletions
diff --git a/rust/HACKING.md b/rust/HACKING.md
index c321cded..fbdeb499 100644
--- a/rust/HACKING.md
+++ b/rust/HACKING.md
@@ -26,7 +26,7 @@ are verbose and implemented in a very mechanical fashion. The return type
mapping in `api_wrappers` might be necessary, but `database_models.rs` in
particular feels unnecessary; other projects have attempted to completely
automate generation of this file, but it doesn't sound reliable. In particular,
-both regular "Row" (queriable) and "NewRow" (insertable) structs need to be
+both regular "Row" (queryable) and "NewRow" (insertable) structs need to be
defined.
## Test Structure
diff --git a/rust/README.md b/rust/README.md
index 6f213629..36061240 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -71,7 +71,7 @@ All configuration goes through environment variables, the notable ones being:
- `TEST_DATABASE_URL`: used when running `cargo test`
- `AUTH_LOCATION`: the domain authentication tokens should be valid over
- `AUTH_KEY_IDENT`: a unique name for the primary auth signing key (used to
- find the correct key after key rotation has occured)
+ find the correct key after key rotation has occurred)
- `AUTH_SECRET_KEY`: base64-encoded secret key used to both sign and verify
authentication tokens (symmetric encryption)
- `AUTH_ALT_KEYS`: additional ident/key pairs that can be used to verify tokens
diff --git a/rust/TODO b/rust/TODO
index 9a6ea910..1baff6ea 100644
--- a/rust/TODO
+++ b/rust/TODO
@@ -28,7 +28,7 @@ later:
https://github.com/jkcclemens/paste/blob/942d1ede8abe80a594553197f2b03c1d6d70efd0/webserver/build.rs
https://github.com/jkcclemens/paste/blob/942d1ede8abe80a594553197f2b03c1d6d70efd0/webserver/src/main.rs#L44
- "prev_rev" required in updates
-- tried using sync::Once to wrap test database initilization (so it would only
+- tried using sync::Once to wrap test database initialization (so it would only
run migrations once), but it didn't seem to work, maybe I had a bug or it
didn't compile?
=> could also do a global mutex: https://github.com/SergioBenitez/Rocket/issues/697