From be12cf5f15057758be3a02ff371df72aa44ea1bf Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Fri, 6 Nov 2026 20:26:25 +0100 Subject: [PATCH] STRA-338 size-fn2: leleka-runtime-client lines within 120 columns (wide 3 -> 0; doc comments re-filled) --- crates/runtime-client/src/backend/impl_api_backend_for.rs | 7 ++++--- crates/runtime-client/src/client.rs | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/crates/runtime-client/src/backend/impl_api_backend_for.rs b/crates/runtime-client/src/backend/impl_api_backend_for.rs index e33f9a5b..0cbef29d 100644 --- a/crates/runtime-client/src/backend/impl_api_backend_for.rs +++ b/crates/runtime-client/src/backend/impl_api_backend_for.rs @@ -19,8 +19,8 @@ impl api::Backend for GrpcBackend { self.keep_reports(probe.as_ref()); probe::advertised(probe, self.attached.clone()) } - /// The runtime's prefix-cache summary as of the last `capabilities` probe (one health tick old at most); `None` when the - /// runtime is unreachable, restarted since the attach, or has no such cache. + /// The runtime's prefix-cache summary as of the last `capabilities` probe (one health tick old at most); `None` + /// when the runtime is unreachable, restarted since the attach, or has no such cache. fn prefix_cache_summary(&self) -> Option { self.prefix_summary .lock() @@ -28,7 +28,8 @@ impl api::Backend for GrpcBackend { .and_then(|cell| cell.clone()) } - /// The runtime's memory-governor report as of the last `capabilities` probe; `None` when unreachable or it has none. + /// The runtime's memory-governor report as of the last `capabilities` probe; `None` when unreachable or it has + /// none. fn memory_report(&self) -> Option { self.memory_report.lock().ok().and_then(|cell| cell.clone()) } diff --git a/crates/runtime-client/src/client.rs b/crates/runtime-client/src/client.rs index ec09d378..3da8989d 100644 --- a/crates/runtime-client/src/client.rs +++ b/crates/runtime-client/src/client.rs @@ -123,8 +123,8 @@ impl RuntimeClient { } Ok(value) } - /// Change the settings of the loaded model (JSON document, `leleka_runtime::serve_tuning`); the engine reopens its serve stack, - /// which takes tens of seconds, so the deadline is generous. + /// Change the settings of the loaded model (JSON document, `leleka_runtime::serve_tuning`); the engine reopens its + /// serve stack, which takes tens of seconds, so the deadline is generous. pub async fn reconfigure( &mut self, command: proto::ReconfigureRequest,