Skip to content

Commit

Permalink
docs(http/upgrade): update incorrect comment
Browse files Browse the repository at this point in the history
this comment is not true.

this commit updates it, reflecting the current state of the upgrade
body's `Drop` logic.

Signed-off-by: katelyn martin <[email protected]>
  • Loading branch information
cratelyn committed Jan 15, 2025
1 parent 993e48c commit 317807a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions linkerd/http/upgrade/src/glue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ use tracing::debug;
#[pin_project(PinnedDrop)]
#[derive(Debug)]
pub struct UpgradeBody<B = BoxBody> {
/// In UpgradeBody::drop, if this was an HTTP upgrade, the body is taken
/// to be inserted into the Http11Upgrade half.
/// The inner [`Body`] being wrapped.
#[pin]
body: B,
upgrade: Option<(Http11Upgrade, hyper::upgrade::OnUpgrade)>,
Expand Down

0 comments on commit 317807a

Please sign in to comment.