Skip to content

Commit

Permalink
Rust: fix doc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Paolo Tranquilli committed Dec 3, 2024
1 parent 353f1ca commit c113503
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ repos:

- id: rust-codegen
name: Run Rust checked in code generation
files: ^misc/codegen/|^rust/(schema.py$|codegen/|.*/generated/|ql/lib/(rust\.dbscheme$|codeql/rust/elements)|\.generated.list)
files: ^misc/codegen/|^rust/(prefix\.dbscheme|schema/|codegen/|.*/generated/|ql/lib/(rust\.dbscheme$|codeql/rust/elements)|\.generated.list)
language: system
entry: bazel run //rust/codegen -- --quiet
pass_filenames: false
Expand Down
6 changes: 3 additions & 3 deletions rust/ql/.generated.list

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/ql/lib/codeql/rust/elements/ArrayRepeatExpr.qll

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ private import codeql.rust.elements.internal.generated.Synth
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* An array expression with a repeat oeprand and a repeat length. For example:
* An array expression with a repeat operand and a repeat length. For example:
* ```rust
* [1; 10];
* ```
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/schema/annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ class ArrayListExpr(ArrayExpr):
@synth.from_class(ArrayExprInternal)
class ArrayRepeatExpr(ArrayExpr):
"""
An array expression with a repeat oeprand and a repeat length. For example:
An array expression with a repeat operand and a repeat length. For example:
```rust
[1; 10];
```
Expand Down

0 comments on commit c113503

Please sign in to comment.