mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-08 00:00:24 +02:00
Make WithRejection::into_inner public (#1266)
This commit is contained in:
@@ -58,7 +58,7 @@ pub struct WithRejection<E, R>(pub E, pub PhantomData<R>);
|
|||||||
|
|
||||||
impl<E, R> WithRejection<E, R> {
|
impl<E, R> WithRejection<E, R> {
|
||||||
/// Returns the wrapped extractor
|
/// Returns the wrapped extractor
|
||||||
fn into_inner(self) -> E {
|
pub fn into_inner(self) -> E {
|
||||||
self.0
|
self.0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user