Run cargo fmt on PR #193 code to satisfy the fmt hook
The squashed thinking-notice PR was committed with --no-verify, so three files were never run through `cargo fmt` under the project's pinned toolchain (rust-toolchain.toml = 1.96.0). Format them so `cargo fmt --all -- --check` passes — a prerequisite for wiring the prek suite (which includes that check) into CI in the next commit. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -558,7 +558,9 @@ async fn handle_stage_text_generation(
|
||||
// loop exits the instant generation resolves, so there is no detached task and no late edit can
|
||||
// ever clobber the real answer. `placeholder` is the event we must finalize in every exit path.
|
||||
let (result, placeholder) = if let Some(notice_prompt_variables) = notice_prompt_variables {
|
||||
let generation = controller.generate_text(conversation, params).instrument(span);
|
||||
let generation = controller
|
||||
.generate_text(conversation, params)
|
||||
.instrument(span);
|
||||
tokio::pin!(generation);
|
||||
|
||||
let mut placeholder: Option<OwnedEventId> = None;
|
||||
|
||||
Reference in New Issue
Block a user