diff --git a/src/upgrade.rs b/src/upgrade.rs index 03d7e98ddc..9d23a29081 100644 --- a/src/upgrade.rs +++ b/src/upgrade.rs @@ -58,7 +58,7 @@ use crate::common::io::Rewind; /// /// This type holds a trait object internally of the original IO that /// was used to speak HTTP before the upgrade. It can be used directly -/// as a `Read` or `Write` for convenience. +/// as a [`Read`] or [`Write`] for convenience. /// /// Alternatively, if the exact type is known, this can be deconstructed /// into its parts.