Skip to content

Commit 1688beb

Browse files
committed
chore(infra): remove unnecessary 'Check Char and Byte Offset' (oxc-project#11952)
Related to oxc-project#6071 The `char_indices_as_byte_indices` rule is officially supported in Rust 1.88.0 and is enabled by default under the `correctness` lint group. Ref https://rust-lang.github.io/rust-clippy/rust-1.88.0/index.html#char_indices_as_byte_indices
1 parent 5dfcac5 commit 1688beb

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -205,16 +205,6 @@ jobs:
205205
components: clippy
206206
- run: cargo lint -- -D warnings
207207
- run: cargo lint --profile dev-no-debug-assertions -- -D warnings
208-
# Waiting for https://github.com/rust-lang/rust-clippy/pull/13435
209-
- name: Check Char and Byte Offset
210-
run: |
211-
npm i @ast-grep/cli -g
212-
output=$(sg -p '$A.chars().enumerate()' -r '$A.char_indices()' -l rs)
213-
echo "Output: $output"
214-
if [ -n "$output" ]; then
215-
echo "Error: Unexpected output detected"
216-
exit 1
217-
fi
218208

219209
doc:
220210
name: Doc

0 commit comments

Comments
 (0)