mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
feat(lint): centralize clippy::collapsible_if allowance in Cargo.toml and remove redundant file-level declarations
This commit is contained in:
parent
1f5777ff11
commit
1ebeb233c4
53 changed files with 851 additions and 212 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#![allow(clippy::collapsible_if, clippy::unnecessary_map_or)]
|
||||
#![allow(clippy::unnecessary_map_or)]
|
||||
|
||||
use super::domain::{AuthLevel, ProductState, ResourceLifecycle};
|
||||
use super::engine::DataflowResult;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#![allow(clippy::collapsible_if)]
|
||||
//! `DefaultTransfer`: resource-lifecycle and auth-state transfer function for
|
||||
//! the generic monotone dataflow engine (separate from taint).
|
||||
//!
|
||||
//! Tracks `ResourceLifecycle`, `AuthLevel`, and chain-proxy/product state to
|
||||
//! detect leaks, use-after-close, double-close, and auth-state issues.
|
||||
|
||||
use super::domain::{AuthLevel, ChainProxyState, ProductState, ResourceLifecycle};
|
||||
use super::engine::Transfer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue