docs(lib): fix broken intra docs links

This commit is contained in:
Sean McArthur
2019-12-11 13:12:24 -08:00
parent bdca4992fc
commit 57ef271500
8 changed files with 16 additions and 16 deletions

View File

@@ -160,7 +160,7 @@ impl Body {
/// Converts this `Body` into a `Future` of a pending HTTP upgrade.
///
/// See [the `upgrade` module](::upgrade) for more.
/// See [the `upgrade` module](crate::upgrade) for more.
pub fn on_upgrade(self) -> OnUpgrade {
self.extra
.map(|ex| ex.on_upgrade)
@@ -496,7 +496,7 @@ impl Sender {
///
/// This is mostly useful for when trying to send from some other thread
/// that doesn't have an async context. If in an async context, prefer
/// [`send_data`][] instead.
/// `send_data()` instead.
pub fn try_send_data(&mut self, chunk: Bytes) -> Result<(), Bytes> {
self.tx
.try_send(Ok(chunk))