Skip to content

Fix minor broken doc links and add missing feature flag (#1471) #1243

Fix minor broken doc links and add missing feature flag (#1471)

Fix minor broken doc links and add missing feature flag (#1471) #1243

Workflow file for this run

# When pushed to main, run `cargo +nightly fmt` against all files and open a PR.
name: rustfmt
on:
push:
# Limit to `main` because this action creates a PR
branches:
- main
paths:
- '**.rs'
- '**.yml'
jobs:
rustfmt_nightly:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install nightly toolchain with rustfmt available
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt
- run: rustfmt +nightly --edition 2018 $(find . -type f -iname *.rs)
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: rustfmt
signoff: true
title: rustfmt
body: |
Changes from `rustfmt +nightly --edition 2018 $(find . -type f -iname *.rs)`.
branch: rustfmt
# Delete branch when merged
delete-branch: true