fix some autolinks that weren't resolving in docs (#305)

This commit is contained in:
Sean McArthur
2018-08-10 14:27:45 -07:00
committed by GitHub
parent 66a5d113d4
commit b0db515bdd
2 changed files with 9 additions and 12 deletions

View File

@@ -425,6 +425,7 @@ where
///
/// See [module] level docs for more details.
///
/// [`poll_ready`]: #method.poll_ready
/// [module]: index.html
pub fn ready(self) -> ReadySendRequest<B> {
ReadySendRequest { inner: Some(self) }
@@ -930,11 +931,9 @@ impl Builder {
/// Sets the maximum number of concurrent locally reset streams.
///
/// When a stream is explicitly reset by either calling
/// [`SendResponse::send_reset`] or by dropping a [`SendResponse`] instance
/// before completing the stream, the HTTP/2.0 specification requires that
/// any further frames received for that stream must be ignored for "some
/// time".
/// When a stream is explicitly reset, the HTTP/2.0 specification requires
/// that any further frames received for that stream must be ignored for
/// "some time".
///
/// In order to satisfy the specification, internal state must be maintained
/// to implement the behavior. This state grows linearly with the number of
@@ -976,13 +975,11 @@ impl Builder {
self
}
/// Sets the maximum number of concurrent locally reset streams.
/// Sets the duration to remember locally reset streams.
///
/// When a stream is explicitly reset by either calling
/// [`SendResponse::send_reset`] or by dropping a [`SendResponse`] instance
/// before completing the stream, the HTTP/2.0 specification requires that
/// any further frames received for that stream must be ignored for "some
/// time".
/// When a stream is explicitly reset, the HTTP/2.0 specification requires
/// that any further frames received for that stream must be ignored for
/// "some time".
///
/// In order to satisfy the specification, internal state must be maintained
/// to implement the behavior. This state grows linearly with the number of

View File

@@ -277,7 +277,7 @@ impl<B: IntoBuf> SendStream<B> {
/// Requests to be notified when the stream's capacity increases.
///
/// Before calling this, capacity should be requested with
/// [`reserve_capacity`]. Once capacity is requested, the connection will
/// `reserve_capacity`. Once capacity is requested, the connection will
/// assign capacity to the stream **as it becomes available**. There is no
/// guarantee as to when and in what increments capacity gets assigned to
/// the stream.