Browse Source

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.
tyrone-wu 10 months ago
parent
commit
5e13283f59
2 changed files with 1 additions and 2 deletions
  1. 0 1
      .taplo.toml
  2. 1 1
      aya/Cargo.toml

+ 0 - 1
.taplo.toml

@@ -2,4 +2,3 @@
 
 [rule.formatting]
 indent_string = "    "
-reorder_arrays = true

+ 1 - 1
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"]