fix(host): allow too_many_arguments on the two fns the v4 merge grew
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@ use super::*;
|
||||
|
||||
/// Run the Hello→Welcome→Start negotiation. Borrows the control streams (the caller keeps them for
|
||||
/// mid-stream renegotiation afterwards). `first` is the already-read first control message.
|
||||
#[allow(clippy::type_complexity)]
|
||||
#[allow(clippy::type_complexity, clippy::too_many_arguments)]
|
||||
pub(super) async fn negotiate(
|
||||
conn: &quinn::Connection,
|
||||
send: &mut quinn::SendStream,
|
||||
|
||||
@@ -85,6 +85,7 @@ fn session_ref(s: &LiveSession) -> crate::events::SessionRef {
|
||||
/// Registers a live native session; the returned guard removes it on drop (session end).
|
||||
/// Emits the `session.started` lifecycle event; the guard's drop emits `session.ended` — RAII,
|
||||
/// so every exit path (return, `?`, panic-unwind) pairs them.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn register(
|
||||
mode: Arc<AtomicU64>,
|
||||
bitrate_kbps: Arc<AtomicU32>,
|
||||
|
||||
Reference in New Issue
Block a user