mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-29 15:49:16 +01:00
Make WithRejection::into_inner
public (#1266)
This commit is contained in:
parent
e22f6f9d2b
commit
f2243c4db0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue