Skip to content

Commit

Permalink
style(upgrade): remove unncessary cfg attribute
Browse files Browse the repository at this point in the history
Remove an extraneous cfg attribute that was added erroneously in a
previous commit.
  • Loading branch information
RamziA961 committed Sep 30, 2023
1 parent 8ebbd49 commit 32c1df7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ impl fmt::Debug for OnUpgrade {
#[cfg(any(feature = "http1", feature = "http2"))]
impl Pending {
pub(super) fn fulfill(self, upgraded: Upgraded) {
#[cfg(any(feature = "http1", feature = "http2"))]
trace!("pending upgrade fulfill");
let _ = self.tx.send(Ok(upgraded));
}
Expand Down

0 comments on commit 32c1df7

Please sign in to comment.