Suggest use .get_mut
instead of &mut
when overloaded index type not impl IndexMut
#1954
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow runs spellcheck job | |
name: Spellcheck | |
on: | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
spellcheck: | |
name: run spellchecker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v4 | |
- name: check typos | |
# sync version with src/tools/tidy/src/ext_tool_checks.rs in spellcheck_runner | |
uses: crate-ci/[email protected] | |
with: | |
# sync target files with src/tools/tidy/src/ext_tool_checks.rs in check_impl | |
files: ./compiler ./library ./src/bootstrap ./src/librustdoc | |
config: ./typos.toml |