From 5e13283f59b0c3b4cb47de1e31d8d0960e80b4cc Mon Sep 17 00:00:00 2001 From: tyrone-wu Date: Tue, 4 Jun 2024 01:48:49 +0000 Subject: [PATCH] fix: fix rustdocs-args ordering in taplo to -D warnings This fixes the current rustdoc build error by correcting the ordering of `rustdoc-args` to `-D warnings`. Additionally, this also removes the `recorder_arrays` field (defaults to false) so that the order is not modified, which is what caused the error in the first place. --- .taplo.toml | 1 - aya/Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.taplo.toml b/.taplo.toml index f8e816ca..d8a04c55 100644 --- a/.taplo.toml +++ b/.taplo.toml @@ -2,4 +2,3 @@ [rule.formatting] indent_string = " " -reorder_arrays = true diff --git a/aya/Cargo.toml b/aya/Cargo.toml index a69aec84..57e80c77 100644 --- a/aya/Cargo.toml +++ b/aya/Cargo.toml @@ -35,4 +35,4 @@ async_std = ["dep:async-io"] [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "-D", "docsrs", "warnings"] +rustdoc-args = ["--cfg", "docsrs", "-D", "warnings"]