Skip to content

Commit 24afa19

Browse files
Merge pull request #2983 from bobtajson/main
Fix: fixed typos to improve readability and code standards
2 parents cf5a70f + 2d9625d commit 24afa19

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/code-guidelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
```tsx
7777
function handleEvent(e) {
7878
// Many inlined state tracking vars. Not much better than globals.
79-
var latstPythNetupdateTime = DateTime.now();
79+
var latestPythNetUpdateTime = DateTime.now();
8080
var clientsWaiting = {};
8181
var ...
8282

@@ -110,7 +110,7 @@
110110
// main.ts
111111
const { db } = require('db');
112112
function() {
113-
initDb(); // Databaes not passed, implies global use.
113+
initDb(); // Database not passed, implies global use.
114114
}
115115

116116
```

doc/rust-code-guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The recommendations on this page should help with dealing with these lints.
6060

6161
Refer also to [Clippy lints documentation](https://rust-lang.github.io/rust-clippy/master/index.html) for more information about the lints.
6262

63-
If the lint is a false positive, put `#[allow(lint_name, reason = "...")]` on the relevant line or block and and specify the reason why the code is correct.
63+
If the lint is a false positive, put `#[allow(lint_name, reason = "...")]` on the relevant line or block and specify the reason why the code is correct.
6464

6565
Many of the lints (e.g. most of the panic-related lints) can be allowed globally for tests and other non-production code.
6666

0 commit comments

Comments
 (0)