Make WithRejection::into_inner public (#1266)

This commit is contained in:
David Pedersen
2022-08-17 08:59:16 +00:00
committed by GitHub
parent e22f6f9d2b
commit f2243c4db0
+1 -1
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
}
}