feat: Make generating const function with mutable reference behind a … #28
This file contains 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
name: Format test | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
- LICENSE | |
- .github/FUNDING.yml | |
- .gitignore | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "**/LICENSE" | |
- .github/FUNDING.yml | |
- .editorconfig | |
- .gitignore | |
jobs: | |
fmt: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: nightly | |
components: rustfmt | |
- name: Check Format | |
run: cargo fmt -- --check |