mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(acp): suppress clippy::too_many_arguments on format_context_hints
The function inherently needs all 8 parameters — each maps to a distinct context dimension. Refactoring into a struct would add abstraction without reducing complexity. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
This commit is contained in:
@@ -962,6 +962,7 @@ fn resolve_reply_anchor(
|
||||
/// replies; in the channel branch a `Some` anchor means a human-facing
|
||||
/// top-level mention whose reply should open a new thread rooted at the
|
||||
/// triggering event.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn format_context_hints(
|
||||
channel_id: Uuid,
|
||||
channel_info: Option<&PromptChannelInfo>,
|
||||
|
||||
Reference in New Issue
Block a user