Skip to content

Commit 9c91971

Browse files
authored
Merge pull request #399 from jbampton/pre-commit-autoupdate
pre-commit autoupdate, fix spelling, use lowercase doctype
2 parents 528616e + fbd2ba8 commit 9c91971

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ repos:
3131
# hooks:
3232
# - id: remove-tabs
3333
- repo: https://github.com/codespell-project/codespell
34-
rev: v2.1.0
34+
rev: v2.2.1
3535
hooks:
3636
- id: codespell
3737
name: Run codespell
@@ -44,13 +44,13 @@ repos:
4444
# - id: shellcheck
4545
# - id: shfmt
4646
- repo: https://github.com/pre-commit/mirrors-prettier
47-
rev: v2.7.1
47+
rev: v3.0.0-alpha.0
4848
hooks:
4949
- id: prettier
5050
name: Run prettier
5151
description: Format files with prettier
5252
- repo: https://github.com/igorshubovych/markdownlint-cli
53-
rev: v0.32.1
53+
rev: v0.32.2
5454
hooks:
5555
- id: markdownlint
5656
name: Run markdownlint
@@ -60,7 +60,7 @@ repos:
6060
types: [markdown]
6161
files: \.(md|mdown|markdown)$
6262
- repo: https://github.com/adrienverge/yamllint
63-
rev: v1.27.1
63+
rev: v1.28.0
6464
hooks:
6565
- id: yamllint
6666
name: Run yamllint

src/ast/ast.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,15 +222,15 @@ typedef struct _ast_function_declaration
222222
// [main] FN ( mut name type ) fn_name () type { }
223223
// ^ pos_attribute
224224
// ^ pos_function
225-
// ^ pos_reciver
225+
// ^ pos_receiver
226226
// ^ pos_name
227227
// ^ pos_param
228228
// ^ pos_return
229229
// ^ pos_body
230230
Location pos;
231231
Location pos_attribute;
232232
Location pos_function;
233-
Location pos_reciver;
233+
Location pos_receiver;
234234
Location pos_name;
235235
Location pos_param;
236236
Location pos_return;
@@ -244,7 +244,7 @@ typedef struct _ast_function_declaration
244244
bool has_return;
245245

246246
char* name;
247-
AstParam* reciver;
247+
AstParam* receiver;
248248
AstParamArray* params; // AstParam
249249
AstBlockDeclaration* statements;
250250
AstAttributeDeclarationArray* attributes; // AstAttributeDeclaration

tmp/c-new/docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />

0 commit comments

Comments
 (0)