Skip to content

Commit

Permalink
fix: fix rustdocs-args ordering in taplo to -D warnings
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tyrone-wu authored and vadorovsky committed Jun 4, 2024
1 parent 0ec87f6 commit 5e13283
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .taplo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

[rule.formatting]
indent_string = " "
reorder_arrays = true
2 changes: 1 addition & 1 deletion aya/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 5e13283

Please sign in to comment.