mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-20 00:00:11 +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> {
|
||||
/// Returns the wrapped extractor
|
||||
fn into_inner(self) -> E {
|
||||
pub fn into_inner(self) -> E {
|
||||
self.0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user