This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch 
gh-readonly-queue/main/pr-11988-562983649f933bb7709ce60fe295ff29cf5361ea
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git

commit 82f21cf8733e9d597acdfa327e92616e404d0dbc
Author: Neil Conway <[email protected]>
AuthorDate: Thu Oct 29 15:01:32 2026 +0000

    docs: run `cargo fmt` with the pinned toolchain (#11988)
    
    # Which issue does this PR close?
    
    - N/A
    
    # Rationale for this change
    
    CI checks formatting with the toolchain from `rust-toolchain.toml`.
    `cargo +stable fmt` overrides it, so its output can differ from CI's,
    and rustup installs `stable` if it is missing.
    
    # What changes are included in this PR?
    
    See above.
    
    # Are these changes tested?
    
    Docs change only.
    
    # Are there any significant user-facing changes?
    
    No.
---
 AGENTS.md       | 2 +-
 CONTRIBUTING.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/AGENTS.md b/AGENTS.md
index ad18eb6734..2677f8c22b 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -23,7 +23,7 @@ Run the checks relevant to your change from the repository 
root:
 
 ```bash
 # Check Rust formatting and lints for code changes
-cargo +stable fmt --all -- --check
+cargo fmt --all -- --check
 cargo clippy --workspace --all-targets --all-features -- -D warnings
 
 # Check spelling, including documentation changes
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index b4559f11cc..9d165d4a83 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -186,7 +186,7 @@ Our CI uses `rustfmt` to check code formatting. Before 
submitting a
 PR be sure to run the following and check for lint issues:
 
 ```bash
-cargo +stable fmt --all -- --check
+cargo fmt --all -- --check
 ```
 
 ## Miri

Reply via email to