Skip to content

transaction deferable #13

transaction deferable

transaction deferable #13

GitHub Actions / clippy failed Mar 3, 2024 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check failure on line 44 in src/driver/transaction.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (8/7)

error: this function has too many arguments (8/7)
  --> src/driver/transaction.rs:35:5
   |
35 | /     pub fn new(
36 | |         db_client: Arc<tokio::sync::RwLock<Object>>,
37 | |         is_started: Arc<tokio::sync::RwLock<bool>>,
38 | |         is_done: Arc<tokio::sync::RwLock<bool>>,
...  |
43 | |         cursor_num: usize,
44 | |     ) -> Self {
   | |_____________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
   = note: `-D clippy::too-many-arguments` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::too_many_arguments)]`