Skip to content

perf(frequency): hint UTF-8 failure as cold path in ignore-case hot loop #8921

perf(frequency): hint UTF-8 failure as cold path in ignore-case hot loop

perf(frequency): hint UTF-8 failure as cold path in ignore-case hot loop #8921

Workflow file for this run

name: Rustfmt
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rustfmt, clippy
- name: make doubly sure right rustfmt is installed
run: |
rustup default nightly
rustup component add rustfmt
rustup update
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
toolchain: nightly
use-cross: false
args: -- --check