diff --git a/src/adapters/from_wss.rs b/src/adapters/from_wss.rs index ac25b45..6495b01 100644 --- a/src/adapters/from_wss.rs +++ b/src/adapters/from_wss.rs @@ -152,7 +152,7 @@ impl FromWss { /// A live `from_wss` session: the channel-0 `CallConnection` (held /// exclusively by the consumer) plus the drop-monitor tasks. Dropping -/// the session (via [`WssSession::drop`] or `std::mem::forget` for +/// the session (via `WssSession::drop` or `std::mem::forget` for /// fire-and-forget imports) tears the WS down; the monitor fails all /// in-flight pending calls with retryable `CONNECTION_CLOSED`. pub struct WssSession { diff --git a/src/gateway/dispatch.rs b/src/gateway/dispatch.rs index ae75fdb..28e889f 100644 --- a/src/gateway/dispatch.rs +++ b/src/gateway/dispatch.rs @@ -42,9 +42,10 @@ //! or AccessControl check of its own (alkcall CF-004). Without a guard, //! `POST /call {"operation":"services/schema","input":{"name":X}}` //! returns the full spec of any Internal op, defeating the GET -//! `/schema` fix (GW-02/SRV-02) through the op path. [`invoke`] and -//! [`invoke_streaming`] therefore apply the same is-internal + -//! access-control checks to the inner `name` that GET `/schema` applies +//! `/schema` fix (GW-02/SRV-02) through the op path. +//! [`GatewayDispatch::invoke`] and [`GatewayDispatch::invoke_streaming`] +//! therefore apply the same is-internal + access-control checks to the +//! inner `name` that GET `/schema` applies //! (404 for Internal, FORBIDDEN for ACL denial) before dispatching. //! This is the alkhttp-local layer of the fix; the complete fix is the //! alkcall-side handler check (CF-004, diff --git a/src/websocket/byte_adapter.rs b/src/websocket/byte_adapter.rs index 319b23e..dd4501b 100644 --- a/src/websocket/byte_adapter.rs +++ b/src/websocket/byte_adapter.rs @@ -668,7 +668,7 @@ pub fn split_ws_to_bytes_idle( /// [`split_ws_to_bytes_idle`] with an explicit WS-18 write-progress /// window: `None` = the crate default -/// ([`DEFAULT_WS_WRITE_TIMEOUT`](crate::websocket::DEFAULT_WS_WRITE_TIMEOUT)), +/// ([`DEFAULT_WS_WRITE_TIMEOUT`]), /// `Some(d)` a deployment-set window. pub fn split_ws_to_bytes_idle_with_write( socket: WebSocket, @@ -920,7 +920,7 @@ impl WsFraming for TungsteniteFraming { /// Client-side split for a tokio-tungstenite `WebSocketStream` with /// the default idle-read timeout -/// ([`DEFAULT_WS_IDLE_TIMEOUT`](crate::websocket::DEFAULT_WS_IDLE_TIMEOUT)). +/// ([`DEFAULT_WS_IDLE_TIMEOUT`]). /// See [`split_tungstenite_to_bytes_idle`] for the configurable form. #[cfg(any(test, feature = "wss"))] pub fn split_tungstenite_to_bytes( @@ -938,7 +938,7 @@ where /// axum's server-side `WebSocket`. Message semantics are identical: /// binary messages carry the byte stream, text is a protocol error /// (close 1002), close → read EOF. Both paths run the same generic -/// pumps (WS-11); the socket flavor differs only in the [`WsFraming`] +/// pumps (WS-11); the socket flavor differs only in the `WsFraming` /// impl. `idle_timeout` (WS-01): `None` = no idle bound, `Some(d)` /// closes the read with 1001 after `d` without an inbound WS message. #[cfg(any(test, feature = "wss"))] diff --git a/tasks/infra/review-002-fu-doc-warnings.md b/tasks/infra/review-002-fu-doc-warnings.md index 14ae7f3..e4613da 100644 --- a/tasks/infra/review-002-fu-doc-warnings.md +++ b/tasks/infra/review-002-fu-doc-warnings.md @@ -1,7 +1,7 @@ --- id: review-002-fu-doc-warnings name: Fix cargo-doc warnings (dispatch intra-doc links, byte_adapter redundant link) — restore the -D warnings doc gate -status: pending +status: done depends_on: [] scope: single risk: low