workspace: fix lint error (#234)
Some checks failed
Audit / audit (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / typo (push) Has been cancelled
CI / ci (macos-latest, stable, bash) (push) Has been cancelled
CI / ci (ubuntu-latest, stable, bash) (push) Has been cancelled
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Has been cancelled
Deny / audit (push) Has been cancelled
Doc / build (push) Has been cancelled
Doc / deploy (push) Has been cancelled

* cargo.toml: split `keyword_idents` lint

* dandelion-tower: fix doc

* fix doc/clippy
This commit is contained in:
hinto-janai 2024-07-25 17:47:39 -04:00 committed by GitHub
parent 929d19c450
commit 7416164b19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 4 deletions

View file

@ -275,7 +275,8 @@ clone_on_ref_ptr = "deny"
# Cold # Cold
absolute_paths_not_starting_with_crate = "deny" absolute_paths_not_starting_with_crate = "deny"
explicit_outlives_requirements = "deny" explicit_outlives_requirements = "deny"
keyword_idents = "deny" keyword_idents_2018 = "deny"
keyword_idents_2024 = "deny"
missing_abi = "deny" missing_abi = "deny"
non_ascii_idents = "deny" non_ascii_idents = "deny"
non_local_definitions = "deny" non_local_definitions = "deny"

View file

@ -140,6 +140,7 @@ mod tests {
proptest! { proptest! {
#[test] #[test]
#[allow(clippy::mutable_key_type)]
fn block_queue_returns_items_in_order(batches in vec(ready_batch_strategy(), 0..10_000)) { fn block_queue_returns_items_in_order(batches in vec(ready_batch_strategy(), 0..10_000)) {
block_on(async move { block_on(async move {
let (buffer_tx, mut buffer_rx) = cuprate_async_buffer::new_buffer(usize::MAX); let (buffer_tx, mut buffer_rx) = cuprate_async_buffer::new_buffer(usize::MAX);