Skip to content

Commit c113503

Browse files
author
Paolo Tranquilli
committed
Rust: fix doc typo
1 parent 353f1ca commit c113503

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ repos:
7272

7373
- id: rust-codegen
7474
name: Run Rust checked in code generation
75-
files: ^misc/codegen/|^rust/(schema.py$|codegen/|.*/generated/|ql/lib/(rust\.dbscheme$|codeql/rust/elements)|\.generated.list)
75+
files: ^misc/codegen/|^rust/(prefix\.dbscheme|schema/|codegen/|.*/generated/|ql/lib/(rust\.dbscheme$|codeql/rust/elements)|\.generated.list)
7676
language: system
7777
entry: bazel run //rust/codegen -- --quiet
7878
pass_filenames: false

rust/ql/.generated.list

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/lib/codeql/rust/controlflow/internal/generated/CfgNodes.qll

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/lib/codeql/rust/elements/ArrayRepeatExpr.qll

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/lib/codeql/rust/elements/internal/ArrayRepeatExprImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ private import codeql.rust.elements.internal.generated.Synth
1515
module Impl {
1616
// the following QLdoc is generated: if you need to edit it, do it in the schema file
1717
/**
18-
* An array expression with a repeat oeprand and a repeat length. For example:
18+
* An array expression with a repeat operand and a repeat length. For example:
1919
* ```rust
2020
* [1; 10];
2121
* ```

rust/ql/lib/codeql/rust/elements/internal/generated/ArrayRepeatExpr.qll

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/test/extractor-tests/generated/.generated_tests.list

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/test/extractor-tests/generated/ArrayRepeatExpr/gen_array_repeat_expr.rs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/schema/annotations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ class ArrayListExpr(ArrayExpr):
579579
@synth.from_class(ArrayExprInternal)
580580
class ArrayRepeatExpr(ArrayExpr):
581581
"""
582-
An array expression with a repeat oeprand and a repeat length. For example:
582+
An array expression with a repeat operand and a repeat length. For example:
583583
```rust
584584
[1; 10];
585585
```

0 commit comments

Comments
 (0)