docs(websocket,gateway): fix rustdoc link warnings, restore -D warnings doc gate

- dispatch.rs: qualify [invoke]/[invoke_streaming] as
  [GatewayDispatch::invoke]/[::invoke_streaming] (module-level docs
  need the type-qualified path)
- byte_adapter.rs: drop redundant explicit link targets for
  DEFAULT_WS_WRITE_TIMEOUT / DEFAULT_WS_IDLE_TIMEOUT (already
  re-exported at crate::websocket)
- from_wss.rs, byte_adapter.rs: backtick WssSession::drop and the
  private WsFraming (all-features-only link errors, same class)
- Ws pump/timeout module docs spot-checked against WS-13/18/17 impls:
  no drift found

RUSTDOCFLAGS="-D warnings" cargo doc --no-deps now exits clean both
default-features and --all-features.

docs(tasks): mark review-002-fu-doc-warnings done
This commit is contained in:
2026-08-31 06:23:30 +00:00
parent 5acc561eca
commit 4b6507c452
4 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -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 {