Skip to content

Commit

Permalink
docs: fix cargo doc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eareimu authored and huster-zhangpeng committed Oct 21, 2024
1 parent e389f3d commit 4308b43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qconnection/src/usc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub struct USCRegisty {
}

impl USCRegisty {
/// Create a new [`ArcUSC`] and spawn a task to receive packets or return the existing one.
/// Create a new [`ArcUsc`] and spawn a task to receive packets or return the existing one.
///
/// Note that the future returned by `recv_task` must not be complete unless a udp error occurs.
pub fn get_or_create_usc<Task, F>(addr: SocketAddr, recv_task: F) -> io::Result<ArcUsc>
Expand Down
3 changes: 2 additions & 1 deletion qrecovery/src/streams/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ where
/// | [`recv_stream_control`] ([`RESET_STREAM frame`]) | [`Incoming::recv_reset`] |
/// | [`recv_stream_control`] ([`STOP_SENDING frame`]) | [`Outgoing::stop`] |
/// | [`recv_stream_control`] ([`MAX_STREAM_DATA frame`]) | [`Outgoing::update_window`] |
/// | [`recv_stream_control`] ([`MAX_STREAMS frame`]) | [`RawDataStreams::premit_max_sid`] |
/// | [`recv_stream_control`] ([`MAX_STREAMS frame`]) | [`ArcLocalStreamIds::recv_max_streams_frame`] |
/// | [`recv_stream_control`] ([`STREAM_DATA_BLOCKED frame`]) | none(the frame will be ignored) |
/// | [`recv_stream_control`] ([`STREAMS_BLOCKED frame`]) | none(the frame will be ignored) |
/// | [`on_data_acked`] | [`Outgoing::on_data_acked`] |
Expand Down Expand Up @@ -199,6 +199,7 @@ where
/// [`STREAMS_BLOCKED frame`]: https://www.rfc-editor.org/rfc/rfc9000.html#name-streams_blocked-frame
/// [`OpenBiStream`]: crate::streams::OpenBiStream
/// [`OpenUniStream`]: crate::streams::OpenUniStream
/// [`ArcLocalStreamIds::recv_max_streams_frame`]: qbase::streamid::ArcLocalStreamIds::recv_max_streams_frame
///
#[derive(Debug)]
pub struct RawDataStreams<T>
Expand Down

0 comments on commit 4308b43

Please sign in to comment.