Skip to content

Commit cc87586

Browse files
authored
chore(util): fix ci error on beta toolchain (#153)
1 parent 4909098 commit cc87586

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

http-body-util/src/either.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ impl<L, R> Either<L, R> {
2424
/// This function is part of the generated code from `pin-project-lite`,
2525
/// for a more in depth explanation and the rest of the generated code refer
2626
/// to the [`proj`] module.
27-
pub(crate) fn project(self: Pin<&mut Self>) -> EitherProj<L, R> {
27+
pub(crate) fn project(self: Pin<&mut Self>) -> EitherProj<'_, L, R> {
2828
unsafe {
2929
match self.get_unchecked_mut() {
3030
Self::Left(left) => EitherProj::Left(Pin::new_unchecked(left)),
@@ -138,6 +138,7 @@ pub(crate) mod proj {
138138
}
139139
impl<'__pin, L, R> Unpin for Either<L, R> where __Origin<'__pin, L, R>: Unpin {}
140140

141+
#[allow(unused)]
141142
trait MustNotImplDrop {}
142143
#[allow(drop_bounds)]
143144
impl<T: Drop> MustNotImplDrop for T {}

0 commit comments

Comments
 (0)