Make WithRejection::into_inner public (#1266)

This commit is contained in:
David Pedersen 2022-08-17 10:59:16 +02:00 committed by GitHub
parent e22f6f9d2b
commit f2243c4db0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ pub struct WithRejection<E, R>(pub E, pub PhantomData<R>);
impl<E, R> WithRejection<E, R> {
/// Returns the wrapped extractor
fn into_inner(self) -> E {
pub fn into_inner(self) -> E {
self.0
}
}