From 9bf437de940f612619d91fda0d1003bc05401939 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Tue, 30 Jun 2026 08:33:44 -0700 Subject: [PATCH] docs(moq-native): fix rustdoc links to quinn-gated items under default features dev commit ec405f552 made the `noq` backend default and `quinn` a non-default feature, so `pub mod quinn` is `#[cfg(feature = "quinn")]`. Two doc comments still linked to quinn-feature-gated items, which break intra-doc resolution under default features and make `cargo doc --no-deps` (with `-D warnings`) fail. That reds the local `just check` inner loop on a clean `dev`; CI uses `--all-features` so it stayed green. Reword both to plain backtick text so the docs build under both default and `--all-features`. Co-Authored-By: Claude Opus 4.8 --- rs/moq-native/src/error.rs | 2 +- rs/moq-native/src/server.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rs/moq-native/src/error.rs b/rs/moq-native/src/error.rs index e3cb97a87..d1ad0164a 100644 --- a/rs/moq-native/src/error.rs +++ b/rs/moq-native/src/error.rs @@ -3,7 +3,7 @@ use std::sync::Arc; /// Errors produced while configuring or establishing native MoQ connections. /// /// Backend-specific failures live in per-backend error types ([`crate::tls::Error`], -/// [`crate::quinn::Error`], etc.). They're wrapped in `Arc` here so the aggregate +/// the per-backend `Error` types, etc.). They're wrapped in `Arc` here so the aggregate /// stays `Clone` even though the underlying transport/IO errors are not. #[derive(Debug, Clone, thiserror::Error)] #[non_exhaustive] diff --git a/rs/moq-native/src/server.rs b/rs/moq-native/src/server.rs index e1565fe66..95bcd5c0e 100644 --- a/rs/moq-native/src/server.rs +++ b/rs/moq-native/src/server.rs @@ -281,7 +281,7 @@ impl Server { /// Returns the next partially established QUIC or WebTransport session. /// - /// This returns a [Request] instead of a [web_transport_quinn::Session] + /// This returns a [Request] instead of an established `web_transport` session /// so the connection can be rejected early on an invalid path or missing auth. /// /// The [Request] is either a WebTransport or a raw QUIC request.